refactoring issues

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 19 03:21:07 PDT 2015


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.


More information about the Digitalmars-d-learn mailing list