-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When the extension starts up, the value for python.analysis.diagnosticSeverityOverrides in settings.json is completely overwritten, losing any user customized settings.
To Reproduce
Steps to reproduce the behavior:
- Open settings.json
- Add
"reportShadowedImports": "none"to"python.analysis.diagnosticSeverityOverrides"
e.g.
"python.analysis.diagnosticSeverityOverrides": {
"reportMissingModuleSource": "none",
"reportShadowedImports": "none"
},- Close and re-open workspace.
- See that
"python.analysis.diagnosticSeverityOverrides"no longer has the added value from step 2.
Expected behavior
All user customizations to "python.analysis.diagnosticSeverityOverrides" in settings.json should be kept (extra options, and changes to extensions desired values).
Desktop (please complete the following information):
- OS: Win10
- Version VS Code v1.73.1, CircuitPython extension v0.1.19
Additional context
I want to add (and keep) "reportShadowedImports": "none" because Pylance complains that code.py overrides the stdlib module code.
f0lie, jrwagz and hyx0329
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working