0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 08:42:18 +01:00
mongodb/.vscode_defaults/linux-virtual-workstation.code-workspace
Steve McClure b4b23946cd SERVER-90570: Enable formatting checks for buildscripts directory, excluding idl (#22254)
GitOrigin-RevId: 9d997a9f44cd43a8dec7c2a17fa2dbcd875e92f6
2024-05-16 22:07:36 +00:00

84 lines
2.1 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"
},
},
"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"
]
}
}