0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-24 08:30:56 +01:00
mongodb/.vscode_defaults/linux-virtual-workstation.code-workspace
Mathias Stearn cde4ea0bb6 SERVER-97214 Add spelling and yaml extension to vscode recommendations (#29241)
GitOrigin-RevId: 8ad11e23f475ab3a5159d47c878fae5dbb345bea
2024-11-15 18:53:57 +00:00

90 lines
2.4 KiB
Plaintext

{
"folders": [
{
"path": ".."
}
],
"settings": {
"clangd.arguments": [
"--query-driver=/opt/mongodbtoolchain/v4/bin/*",
"--header-insertion=never",
],
"clangd.checkUpdates": true,
"clang-format.executable": "/opt/mongodbtoolchain/v4/bin/clang-format",
"clang-tidy.executable": "buildscripts/clang_tidy_vscode.py",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript"
],
"files.associations": {
"SConstruct": "python",
"SConscript": "python",
"*.idl": "yaml",
},
"files.insertFinalNewline": true,
"js/ts.implicitProjectConfig.target": "ES2020",
"pylint.path": [
"${interpreter}",
"-m",
"pylint"
],
"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"
],
"mypy-type-checker.path": [
"${interpreter}",
"-m",
"mypy"
],
"mypy-type-checker.importStrategy": "fromEnvironment",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[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,
},
"[python]": {
"editor.formatOnSaveMode": "file",
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff",
},
"[starlark]": {
"editor.defaultFormatter": "BazelBuild.vscode-bazel"
},
// 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": " ()[]{}',\"`─‘’@",
},
"extensions": {
"recommendations": [
"llvm-vs-code-extensions.vscode-clangd",
"dbaeumer.vscode-eslint",
"ms-python.python",
"xaver.clang-format",
"cs128.cs128-clang-tidy",
"charliermarsh.ruff",
"ms-python.pylint",
"ms-python.mypy-type-checker",
"esbenp.prettier-vscode",
"redhat.vscode-yaml",
"streetsidesoftware.code-spell-checker",
]
}
}