简体   繁体   中英

Organize static imports before before import in IntelliJ

I am new to IntelliJ. I am currently facing an issue where I want to organize the static imports before the general import (Similar to the coding guidelines we have in eclipse). I could not find the setting to do so. Not having this would create unnecessary modification in each commit as developers in my team use either Eclipse or IntelliJ.

Thanks

Settings > Code Style > Java > "Imports" Tab > Import Layout (near the bottom)

More info at: https://www.jetbrains.com/help/idea/2016.2/code-style-java.html#d48088e1314

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM