Cool project idea: organise/remove imports
Alexandru Ermicioi
alexandru.ermicioi at gmail.com
Thu Jul 11 10:43:28 UTC 2024
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.
That must be one of core features not just amazing.
Java, php, typescript, kotlin, groovy, and any other language
with good ide functionality have this.
As reference on feature set and configurability I'd suggest to
look at java import optimizer found in Jetbrains IDE.
More information about the Digitalmars-d
mailing list