3 ms·
intellij IDEA does this formatting very easily, and you can also customize it pretty easily to fit your aesthetics too.
by chii 6y ago
intellij IDEA does this formatting very easily, and you can also customize it pretty easily to fit your aesthetics too.
- Hackbraten 6y agoPlus: you can put your formatting rules into your `.editorconfig` and put it under source control.
- mumblemumble 6y agoOne downside of this approach is that it only works when you can require everyone who touches the code to use IntelliJ.
- forgetfulness 6y agoFriends don't let friends use Eclipse. But less flippantly, what other tool is workable for Java?
- mumblemumble 6y agoIntelliJ is my favorite Java IDE, too, but I'm not in the business of telling people what editor to use. I can see a company deciding to do that for internal projects. But if it's open source, I'm certainly not interested in creating a situation where it's difficult to comply with a project's coding standards without buying a $500 piece of software.
- chii 6y agothe community edition is free, and usable for most projects that aren't enterprise level.