Cool project idea: organise/remove imports

Atila Neves atila.neves at gmail.com
Mon Jul 15 11:34:19 UTC 2024


On Thursday, 11 July 2024 at 21:04:58 UTC, Monkyyy wrote:
> On Thursday, 11 July 2024 at 10:28:35 UTC, Atila Neves wrote:
>> It'd be amazing if one could hit a key/key combination and 
>> have all imports pared down to the absolute minimum (and made 
>> local). If only I had the time...
>>
>> Imagine being lazy, typing "import std;" at module-scope, 
>> writing some code and... boom. "Hand-written" local imports 
>> everywhere. One can dream.
>
> If I wrote a script that mostly worked would it be merged on 
> phoboes?

This to me sounds like it should be in tools, not Phobos.


More information about the Digitalmars-d mailing list