Skip to content

Commit

Permalink
VS Code settings for Java (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoborges authored Jun 21, 2023
1 parent 7f4a126 commit 7298677
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
"css.lint.validProperties": [
"composes"
],
"editor.defaultFormatter": "ms-dotnettools.csharp",
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"[csharp]": {
"editor.defaultFormatter": "ms-dotnettools.csharp"
"editor.defaultFormatter": "ms-dotnettools.csharp",
"editor.codeActionsOnSave": {
"source.fixAll": true
}
},
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
Expand Down Expand Up @@ -74,5 +73,22 @@
},
"cSpell.words": [
"Partitioner"
]
],
"[java]": {
"editor.formatOnSave": false,
"editor.tabSize": 4,
"editor.codeActionsOnSave": {
"source.fixAll": false
},
},
"emeraldwalk.runonsave": {
"commands": [
{
"match": "\\.java$",
"cmd": "java -Xmx128m -jar ${workspaceFolder}/java/utilities/google-java-format-1.17.0-all-deps.jar --replace --aosp ${file}"
},
],
},
"java.debug.settings.onBuildFailureProceed": true,
"java.compile.nullAnalysis.mode": "disabled"
}

0 comments on commit 7298677

Please sign in to comment.