Best Java IDE

Next you'll tell me you use spaces instead of tabs. :twisted:

The live share isn't public yet, invited beta is only for hosts in the US it seems. Want to use it for helping 1st and 2nd years at uni for projects, would make it easier as screen sharing consumes a lot of data.

Lol I actually do, and its 2 spaces not 4; but that really is no longer a concern today because even the most basic editors can easily reformat code from spaces to tabs and vice versa; same typically applies to style.

Clients are always going to have different formatting standards; and that I leave up to them; the only part that an editor can't help with is naming conventions; but then most have just adopted either the language published style guides or the version published by Google, ...
 
Last edited:
Guilty

But I must say that prettier has been quite blessing for typescript and css/scss (although it is actually a semi pain in jetbrains products, because of auto save, so you have to use a keyboard shortcut)
 
Last edited:
[)roi(];21236905 said:
but then most have just adopted either the language published style guides or the version published buy Google, ...

This imo is the best way. Do what the authors and/or general community use/agree on. When you need to build processes into a business, the less you actually have to do, the better

PHP - opening braces on a new line for classes and methods, because this is what the PSR says. Same with C#
Kotlin - same line, it’s idiomatic
 
Last edited:
[)roi(];21236905 said:
Lol I actually do, and its 2 spaces not 4; but that really is no longer a concern today because even the most basic editors can easily reformat code from spaces to tabs and vice versa; same typically applies to style.

Clients are always going to have different formatting standards; and that I leave up to them; the only part that an editor can't help with is naming conventions; but then most have just adopted either the language published style guides or the version published by Google, ...

[video=youtube;V7PLxL8jIl8]https://www.youtube.com/watch?v=V7PLxL8jIl8[/video]

Nice thing about at least IntelliJ, not sure if Netbeans has, VS Code has plugin, you can set up style for entire project and your IDE will on save convert to project pre-set format. No having to be worried about other team members/leads being annoyed. IntelliJ also has a pop-up saying how document has been formatted, would one like to insert 2/4 spaces on tab and will do so for you while making it look like a tab for you. VS also has that.
 
Nice thing about at least IntelliJ, not sure if Netbeans has, VS Code has plugin, you can set up style for entire project and your IDE will on save convert to project pre-set format. No having to be worried about other team members/leads being annoyed. IntelliJ also has a pop-up saying how document has been formatted, would one like to insert 2/4 spaces on tab and will do so for you while making it look like a tab for you. VS also has that.

If you watch the video I posted, then you'll understand my feeling on this; basically anyone who has the time to play around with style guide set-up in IDEs and other tooling is not a very productive person in the team. Honestly those who don't like my formatting, can just hit the hot-key to reformat as their pedantry demands.
 
Top
Sign up to the MyBroadband newsletter
X