You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which code formatter should we use, without forcing developers into using a specific IDE?
@pmbittner is using Intellij with its default settings, right? @AlexanderSchultheiss and I are using jdtls with its default settings.
Some code is committed without going through a code formatter.
Both are quite configurable. It seems like the settings of Intellij can be exported as a jdtls settings file called Eclipse profile. @pmbittner could you export your formatting settings, then I will check how different Intellij's and jdtls' formatters handle these settings. If there are no differences we can just commit both setting files into the repo and all current developers should be happy.
If they differ too much we should decide on one formatter which can be integrated into the different IDEs.
What do you think about a precommit hook or CI for code formatting to ensure the code is/stays consistent?
The text was updated successfully, but these errors were encountered:
Which code formatter should we use, without forcing developers into using a specific IDE?
@pmbittner is using Intellij with its default settings, right?
@AlexanderSchultheiss and I are using jdtls with its default settings.
Some code is committed without going through a code formatter.
Both are quite configurable. It seems like the settings of Intellij can be exported as a jdtls settings file called Eclipse profile. @pmbittner could you export your formatting settings, then I will check how different Intellij's and jdtls' formatters handle these settings. If there are no differences we can just commit both setting files into the repo and all current developers should be happy.
If they differ too much we should decide on one formatter which can be integrated into the different IDEs.
What do you think about a precommit hook or CI for code formatting to ensure the code is/stays consistent?
The text was updated successfully, but these errors were encountered: