Skip to content

Commit

Permalink
fix (ide): Fix google-java-format in Codespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Feb 26, 2024
1 parent e3a9580 commit ba4a1ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
// Keep this version in sync with the same version in .pre-commit-config.yaml
// NB: Changes to this are only taken into account on start-up, so need to restart.
"java.format.settings.google.version": "1.20.0",
// TODO Remove when https://github.com/google/google-java-format/issues/1072 is fixed:
"java.format.settings.google.mode": "jar-file",
// TODO https://github.com/eclipse-jdtls/eclipse.jdt.ls/issues/3050
"java.compile.nullAnalysis.mode": "automatic",
"java.completion.importOrder": ["#", "", "javax", "java"], //# is static
Expand Down Expand Up @@ -133,7 +135,6 @@
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true,
"**/*.crswap": true,
Expand Down

0 comments on commit ba4a1ef

Please sign in to comment.