From 7bf12659474f14dfc4960f94ef14e9e7f7a91caa Mon Sep 17 00:00:00 2001 From: Anthony Leonardo Gracio Date: Fri, 15 Nov 2024 14:23:40 +0000 Subject: [PATCH] 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 --- .vscode/settings.json.tmpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json.tmpl b/.vscode/settings.json.tmpl index 63dba1dd..6ed7c55f 100644 --- a/.vscode/settings.json.tmpl +++ b/.vscode/settings.json.tmpl @@ -11,11 +11,12 @@ // extension. "LIBRARY_TYPE": "static" }, - "ada.onTypeFormatting.indentOnly": true, + "ada.onTypeFormatting.indentOnly": false, "[ada]": { "editor.autoIndent": "none", - "editor.formatOnType": false, - "editor.tabSize": 3 + "editor.formatOnType": true, + "editor.tabSize": 3, + "editor.detectIndentation": false }, "python.analysis.extraPaths": ["testsuite"], "flake8.args": ["--max-line-length", "88"],