refactoring issues

Ivan Kazmenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 19 07:32:52 PDT 2015


On Thursday, 19 March 2015 at 10:21:09 UTC, Vladimir Panteleev 
wrote:
> On Tuesday, 17 March 2015 at 15:11:02 UTC, Ivan Kazmenko wrote:
>> For the former problem, is there a tool which jumps out and 
>> tells you use Phobos without importing things properly, or 
>> suggests a Phobos import by the name of the stuff.
>
> I did make something simple for myself, but it doesn't work in 
> the more complicated cases you mentioned (contracts failing 
> because of missing imports).
>
> http://dump.thecybershadow.net/e91be687ebaeb0171d830025adf82848/autofix.gif
>
> I could post the code but the editor integration part is pretty 
> specific to my editor.

Hey, I also happen to use Far Manager and its internal editor, at 
least for simple projects.  Is that dcheck triggering a Far 
plugin?  I have a bit of experience with Far recording macros, 
but didn't try to write a plugin.


More information about the Digitalmars-d-learn mailing list