Automatically remove explicit package declarations with import statements in Java

前端 未结 8 1108
不思量自难忘°
不思量自难忘° 2021-01-07 19:46

I have a project created by others that includes thousands of class files and has the package names explicitly typed out for every reference to any of their classes. It look

8条回答
  •  [愿得一人]
    2021-01-07 20:04

    IntelliJ Idea has tools to do this on a per-file basis. You can probably also do it in bulk, but I don't know how.

    Try out a 30 day evaluation and you'll probably be pleased by more than the import cleanup features.

提交回复
热议问题