https://issues.dlang.org/show_bug.cgi?id=13912

--- Comment #4 from Manu <turkey...@gmail.com> ---
(In reply to Rainer Schuetze from comment #3)
> Let's see if Mono-D can do it, we might then be able to do it, too ;-)
> 
> More seriously, with the current rush to use selective local imports, a
> little more interaction might be necessary to select where to put that
> import. Also, adding to existing imports might be desirable...

Yeah you're right, it's a lot more comprehensive than C# :)

I can imagine some nice solutions, but yeah, quite a few details.
There are 4 states I can imagine, global/local (ie, import placed in local
function) and whole-module/single-symbol.

There would want to be logic such that single-symbol imports would be appended
to a comma separated list of other symbols that may already be import from the
same module.

The 4 states that the user may select may be a little awkward for ui :)

--

Reply via email to