Skip to content

Commit 35f166a

Browse files
committed
Update vscode settings
1 parent 9085ce4 commit 35f166a

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

.vscode/extensions.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22
"recommendations": [
33
// Editing *.drawio.svg files directly in VS Code
44
"hediet.vscode-drawio",
5-
65
// Some convenient extensions for editing reStructuredText files
76
"lextudio.restructuredtext",
8-
97
// Linting and live preview for score docs
108
"swyddfa.esbonio",
11-
129
// ErrorLens highlights errors and warnings in your code / docs
1310
"usernamehw.errorlens",
14-
1511
// Linting and formatting for Python (LSP via ruff server)
1612
"charliermarsh.ruff",
17-
1813
// BasedPyright for python various type checking improvements and pylance features
1914
"detachhead.basedpyright",
15+
// Bazel BUILD integration
16+
"bazelbuild.vscode-bazel",
17+
// C++ include guard generation
18+
"akiramiyakoda.cppincludeguard",
2019
]
2120
}

.vscode/settings.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
"files.trimTrailingWhitespace": true,
66
"editor.insertSpaces": true,
77
"editor.tabCompletion": "on",
8-
98
// Default for any filetype
109
"editor.rulers": [
1110
99
1211
],
13-
1412
// Exclude build, temp and cache folders
1513
"files.watcherExclude": {
1614
".*/**": true,
@@ -19,7 +17,6 @@
1917
".venv*/**": true,
2018
"_build/**": true,
2119
},
22-
2320
// Python Settings
2421
// Exclude build, temp and cache folders
2522
"python.analysis.exclude": [
@@ -42,22 +39,15 @@
4239
},
4340
"editor.defaultFormatter": "charliermarsh.ruff",
4441
},
45-
4642
// Markdown Settings
4743
"[markdown]": {
4844
// We mostly write markdown in some combination with python,
4945
// so we use the same rulers as python.
5046
"editor.rulers": [
51-
79, 99
47+
79,
48+
99
5249
]
5350
},
54-
55-
"bazel.lsp.command": "bazel",
56-
"bazel.lsp.args": [
57-
"run",
58-
"//:starpls_server"
59-
],
60-
6151
// RST Settings
6252
"[restructuredtext]": {
6353
"editor.tabSize": 3,
@@ -99,8 +89,18 @@
9989
"--ignore-glob=bazel-*/*",
10090
"--ignore-glob=.venv_docs/*",
10191
"--ignore-glob=_build/*",
102-
10392
],
10493
"python.testing.unittestEnabled": false,
10594
"python.testing.pytestEnabled": true,
95+
"editor.formatOnSave": true,
96+
"C/C++ Include Guard.Macro Type": "Filepath",
97+
"C/C++ Include Guard.Comment Style": "Line",
98+
"json.schemas": [
99+
{
100+
"fileMatch": [
101+
"**/mw_com_config.json"
102+
],
103+
"url": "./bazel-score-someip-gateway/external/communication+/score/mw/com/impl/configuration/ara_com_config_schema.json"
104+
}
105+
],
106106
}

0 commit comments

Comments
 (0)