Skip to content

Commit 7bf1265

Browse files
Force some indentation settings in ALS repository
* Enable onTypeFornatting, with formatting of the previous line * Disable tabSize auto-detection from VS Code For eng/ide/ada_language_server#1470
1 parent 25e7067 commit 7bf1265

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.vscode/settings.json.tmpl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
// extension.
1212
"LIBRARY_TYPE": "static"
1313
},
14-
"ada.onTypeFormatting.indentOnly": true,
14+
"ada.onTypeFormatting.indentOnly": false,
1515
"[ada]": {
1616
"editor.autoIndent": "none",
17-
"editor.formatOnType": false,
18-
"editor.tabSize": 3
17+
"editor.formatOnType": true,
18+
"editor.tabSize": 3,
19+
"editor.detectIndentation": false
1920
},
2021
"python.analysis.extraPaths": ["testsuite"],
2122
"flake8.args": ["--max-line-length", "88"],

0 commit comments

Comments
 (0)