Skip to content

Commit

Permalink
Updating the workspace settings to remove deprecated python options (#…
Browse files Browse the repository at this point in the history
…425)

Removes the deprecated python settings in favor of the options recommended in https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions

Authors:
  - Michael Demoret (https://github.com/mdemoret-nv)

Approvers:
  - Devin Robison (https://github.com/drobison00)

URL: #425
  • Loading branch information
mdemoret-nv authored Dec 22, 2023
1 parent fdc0fbe commit d12e95e
Showing 1 changed file with 26 additions and 17 deletions.
43 changes: 26 additions & 17 deletions mrc.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"eeyore.yapf",
"esbenp.prettier-vscode",
"josetr.cmake-language-support-vscode",
"llvm-vs-code-extensions.vscode-clangd",
"matepek.vscode-catch2-test-adapter",
"ms-python.flake8",
"ms-python.isort",
"ms-python.pylint",
"ms-vscode.cmake-tools",
"stkb.rewrap",
"twxs.cmake"
"twxs.cmake",
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
Expand Down Expand Up @@ -53,6 +58,10 @@
// }
],
"stopAtEntry": false,
"symbolLoadInfo": {
"exceptionList": "libmrc*.so",
"loadAll": false
},
"type": "cppdbg"
},
{
Expand Down Expand Up @@ -187,13 +196,14 @@
"editor.semanticHighlighting.enabled": true,
"editor.suggest.insertMode": "replace",
"editor.tabSize": 4,
"editor.wordBasedSuggestions": false,
"editor.wordBasedSuggestions": "off",
"editor.wordWrapColumn": 120
},
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "eeyore.yapf",
"editor.formatOnSave": true,
"editor.tabSize": 4
},
Expand All @@ -202,7 +212,9 @@
"-DMRC_PYTHON_INPLACE_BUILD:BOOL=ON" // Allow inplace build for python. Use `pip install -e .` from the python folder to install
],
"cmake.format.allowOptionalArgumentIndentation": true,
"editor.rulers": [120],
"editor.rulers": [
120
],
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
Expand All @@ -212,27 +224,21 @@
"**/.hg/store/**": true,
"**/node_modules/*/**": true
},
"flake8.args": [
"--style=${workspaceFolder}/python/setup.cfg"
],
"isort.args": [
"--settings-file=${workspaceFolder}/python/setup.cfg"
],
"pylint.args": [
"--rcfile=${workspaceFolder}/python/.pylintrc"
],
"python.analysis.extraPaths": [
"python"
],
"python.autoComplete.extraPaths": [
"./python"
],
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style=${workspaceFolder}/python/setup.cfg"
],
"python.linting.flake8Args": [
"--config=${workspaceFolder}/python/setup.cfg"
],
"python.linting.flake8Enabled": true,
"python.linting.pylintArgs": [
"--rcfile=${workspaceFolder}/python/.pylintrc"
],
"python.linting.pylintEnabled": true,
"python.testing.cwd": "${workspaceFolder}/python",
"python.testing.pytestArgs": [
"-s"
Expand Down Expand Up @@ -288,6 +294,9 @@
}
},
"testMate.cpp.log.logpanel": true,
"testMate.cpp.test.executables": "{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}_*.x"
"testMate.cpp.test.executables": "{build,Build,BUILD,out,Out,OUT}/**/*{test,Test,TEST}_*.x",
"yapf.args": [
"--style=${workspaceFolder}/python/setup.cfg"
]
}
}

0 comments on commit d12e95e

Please sign in to comment.