java - IntelliJ put package and imports below file header -
In IntelliJ, I have auto import enabled for my java project. When they import, they are my file headers Appear above. Is there a way of package and import statements below the file header comment?
Settings under the file and code templates in your IDE - Template tab < / P>
If you want class for the template you want to place the file header above the package information
In this way (I think it was only newly created Files will only be helpful, but imports for existing files only come in other imports):
#parse $ {PACKAGE_NAME} & amp; $ {PACKAGE_NAME}! = "") Package $ {PACKAGE_NAME}; # End public category $ {NAME} {}
("file>This is my setup and auto import always for my
license.java
Defines but before my file header
Comments
Post a Comment