You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to quickly fix missing imports when pasting code or writing code - it would be great to have a quick fix to "add import" similarly to e.g. the C# vscode extension or various Java IDEs
Reacted by Ecmel Ercan, baobab, Jared Knipp, Nywek, Aaron Kavlie, Martin Blom, xemiru, Chris Haynes, bumbu, edasaki and 16 more
well, as I'm used to from the eclipse world, I'd prefer to have: "Organize imports" functionality => add missing + remove unused (as those are already reported as warnings in "Problems" section).
To go one step further I'd love to see this functionality on the whole package as well (all files within would have imports organized).
Activity
scgm11 commentedon Nov 15, 2016
+1
rubin55 commentedon May 8, 2017
When! This is a great feature to have, especially since you can have quite a list of imports when you get going :-).
typekpb commentedon Jun 11, 2017
well, as I'm used to from the eclipse world, I'd prefer to have: "Organize imports" functionality => add missing + remove unused (as those are already reported as warnings in "Problems" section).
To go one step further I'd love to see this functionality on the whole package as well (all files within would have imports organized).
add activate event in telemetry (redhat-developer#56)
gorkem commentedon Nov 16, 2017
This is now available bot as part of code assist and a code action. closing
apemberton commentedon Dec 9, 2017
Does this feature have the ability to "remove unused imports"?
gorkem commentedon Dec 10, 2017
@apemberton yes, it does. It is also available as an action on the command palette