Multiple selective imports on one line
Joakim via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 28 06:32:06 PST 2015
On Monday, 28 December 2015 at 14:16:36 UTC, Basile B. wrote:
> On Monday, 28 December 2015 at 14:09:30 UTC, Joakim wrote:
>> I wish dfmt could do this for us, so that you develop with all
>> the modules imported at the top, then run dfmt and it scopes
>> all the imports and adds the selective import of symbols.
>> I've been thinking about implementing a tool to do this
>> myself, will get around to it someday.
>
> This is not formating (what DFMT is aimed to do) this is
> refactoring.
You're right, I was thinking about patching Dscanner to do it,
just mentioned dfmt here without thinking about that aspect.
More information about the Digitalmars-d-learn
mailing list