2023-01-12 01:52:14 +01:00
|
|
|
{
|
|
|
|
"folders": [
|
|
|
|
{
|
|
|
|
"path": ".."
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"clangd.arguments": [
|
2023-10-12 18:31:57 +02:00
|
|
|
"--query-driver=/opt/mongodbtoolchain/v4/bin/*",
|
2023-01-12 17:07:26 +01:00
|
|
|
"--header-insertion=never",
|
2023-01-12 01:52:14 +01:00
|
|
|
],
|
|
|
|
"clangd.checkUpdates": true,
|
2023-01-18 01:10:33 +01:00
|
|
|
"clang-format.executable": "/opt/mongodbtoolchain/v4/bin/clang-format",
|
2023-02-08 18:26:21 +01:00
|
|
|
"clang-tidy.executable": "buildscripts/clang_tidy_vscode.py",
|
2023-01-12 01:52:14 +01:00
|
|
|
"editor.codeActionsOnSave": {
|
2023-12-13 18:03:38 +01:00
|
|
|
"source.fixAll.eslint": "explicit"
|
2023-01-12 01:52:14 +01:00
|
|
|
},
|
|
|
|
"eslint.validate": [
|
|
|
|
"javascript"
|
|
|
|
],
|
2023-01-20 20:22:47 +01:00
|
|
|
"files.associations": {
|
|
|
|
"SConstruct": "python",
|
|
|
|
"SConscript": "python",
|
|
|
|
"*.idl": "yaml",
|
|
|
|
},
|
2023-01-13 01:25:27 +01:00
|
|
|
"files.insertFinalNewline": true,
|
2023-01-20 20:22:47 +01:00
|
|
|
"js/ts.implicitProjectConfig.target": "ES2020",
|
2023-11-14 17:18:57 +01:00
|
|
|
"pylint.path": [
|
|
|
|
"${interpreter}",
|
|
|
|
"-m",
|
|
|
|
"pylint"
|
|
|
|
],
|
2023-01-12 01:52:14 +01:00
|
|
|
"python.autoComplete.extraPaths": [
|
|
|
|
"/opt/mongodbtoolchain/v4/share/gcc-11.3.0/python",
|
|
|
|
"src/third_party/scons-3.1.2/scons-local-3.1.2"
|
|
|
|
],
|
|
|
|
"python.defaultInterpreterPath": "python3-venv/bin/python",
|
|
|
|
"python.analysis.extraPaths": [
|
|
|
|
"/opt/mongodbtoolchain/v4/share/gcc-11.3.0/python",
|
|
|
|
"src/third_party/scons-3.1.2/scons-local-3.1.2"
|
|
|
|
],
|
2023-11-14 17:18:57 +01:00
|
|
|
"mypy-type-checker.path": [
|
|
|
|
"${interpreter}",
|
|
|
|
"-m",
|
|
|
|
"mypy"
|
|
|
|
],
|
|
|
|
"mypy-type-checker.importStrategy": "fromEnvironment",
|
2024-02-28 17:45:08 +01:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
2023-01-12 01:52:14 +01:00
|
|
|
"[c]": {
|
|
|
|
"editor.defaultFormatter": "xaver.clang-format",
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
|
|
|
"[cpp]": {
|
|
|
|
"editor.defaultFormatter": "xaver.clang-format",
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
|
|
|
"[javascript]": {
|
|
|
|
"editor.defaultFormatter": "xaver.clang-format",
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
2023-02-08 06:45:06 +01:00
|
|
|
"[python]": {
|
2023-11-14 17:18:57 +01:00
|
|
|
"editor.formatOnSaveMode": "file",
|
2023-02-08 06:45:06 +01:00
|
|
|
"editor.formatOnSave": true,
|
2024-05-17 00:00:17 +02:00
|
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
2023-02-08 06:45:06 +01:00
|
|
|
},
|
2024-04-04 01:12:53 +02:00
|
|
|
"[starlark]": {
|
|
|
|
"editor.defaultFormatter": "BazelBuild.vscode-bazel"
|
|
|
|
},
|
2024-09-06 14:34:34 +02:00
|
|
|
// Allows clicking on a line to jump to location in a JS stacktrace like the example
|
|
|
|
// following. Usually the '@' character is not recognized as a word boundary.
|
|
|
|
// doassert@src/mongo/shell/assert.js:18:14
|
|
|
|
"terminal.integrated.wordSeparators": " ()[]{}',\"`─‘’@",
|
2023-01-12 01:52:14 +01:00
|
|
|
},
|
|
|
|
"extensions": {
|
|
|
|
"recommendations": [
|
|
|
|
"llvm-vs-code-extensions.vscode-clangd",
|
|
|
|
"dbaeumer.vscode-eslint",
|
|
|
|
"ms-python.python",
|
|
|
|
"xaver.clang-format",
|
2023-11-14 17:18:57 +01:00
|
|
|
"cs128.cs128-clang-tidy",
|
2024-05-17 00:00:17 +02:00
|
|
|
"charliermarsh.ruff",
|
2023-11-14 17:18:57 +01:00
|
|
|
"ms-python.pylint",
|
2024-02-28 17:45:08 +01:00
|
|
|
"ms-python.mypy-type-checker",
|
2024-11-15 15:42:49 +01:00
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"redhat.vscode-yaml",
|
|
|
|
"streetsidesoftware.code-spell-checker",
|
2023-01-12 01:52:14 +01:00
|
|
|
]
|
|
|
|
}
|
2023-01-13 01:25:27 +01:00
|
|
|
}
|