[MonoDevelop] Refactoring Addin
m.j.hutchinson at gmail.com
Wed Aug 4 04:39:21 EDT 2010
On Wed, Aug 4, 2010 at 4:01 AM, Eric Schaefer
<eric.schaefer at ericschaefer.org> wrote:
> 2010/8/4 Michael Hutchinson <m.j.hutchinson at gmail.com>:
>> BTW, have you considered contributing your refactoring into the main
>> MonoDevelop.Refactoring adding?
> Yes, but the refactoring is not very usable on its own (Replace empty
> literal string ("") with constant (string.Empty)). It would only make
> sense in combination with an introspection that flags empty literal
> strings as problems and a quick fix.
FWIW, I recently implemented a simple infrastructure for an analysis
engine that can suggest fixes - the MonoDevelop.AnalysisCore adfdin in
git master - http://is.gd/dRRzY. However, [gs]?mcs automatically
replaces "" with String.Empty so the rule & refactoring would only
really be useful for csc.
More information about the Monodevelop-list