Skip to content

Instantly share code, notes, and snippets.

@disouzam
Last active October 21, 2024 17:45
Show Gist options
  • Save disouzam/808126a13bd65dcbd3fe665784232035 to your computer and use it in GitHub Desktop.
Save disouzam/808126a13bd65dcbd3fe665784232035 to your computer and use it in GitHub Desktop.
Base settings.json for dotnet projects with variable for branch coverage threshold
{
"configuration": "release",
"{projectName}.branchCoverage.threshold": 100,
"debug.terminal.clearBeforeReusing": true,
"terminal.integrated.automationProfile.windows": {
"path": "C:\\Windows\\System32\\cmd.exe"
},
"files.exclude": {
"**/bin": true,
"**/obj": true,
"**/.git": true,
"**/.git-hooks-for-reuse": false,
"**/.vs": true,
"**/.vscode": false,
"**/.config": false
},
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
"editor.codeLens": true,
"editor.tabSize": 4,
"editor.formatOnSave": true,
"files.autoSave": "onWindowChange",
"editor.stickyTabStops": true,
"xml.format.splitAttributesIndentSize": 4,
"editor.detectIndentation": false,
"files.eol": "\n",
"pylint.importStrategy": "fromEnvironment",
"pylint.path": [
"${workspaceFolder}/.venv/python",
"-m",
"pylint"
],
}
@disouzam
Copy link
Author

In the second revision, I have added a snippet of configuration (adding keys pylint.importStrategy and pylint.path) that solved so far my issues with VS Code errors in IDE (while the code was fully functional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment