Import all classes shortcut
Often when I copy/paste code around the project I forget to import every new class. Is there a shortcut/plugin to import all classes called in a file or some kind of "not imported classes" inspection warning or something?
请先登录再写评论。
In fact, there is no known feature to import all classes with the single-click.
However, I was wondering if the following feature request is close to your concern:
https://youtrack.jetbrains.com/issue/WI-35532
Could you check it, please?
Yes, this looks like exactly what Im looking for too.
Using the following preferences it can be achieved.
https://www.jetbrains.com/help/idea/creating-and-optimizing-imports.html