Deprecated vscode settings in decontainer.json
bj00rn opened this issue · 0 comments
bj00rn commented
System Health details
n/a
Checklist
- I have enabled debug logging for my installation.
- I have filled out the issue template to the best of my ability.
- This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
- This issue is not a duplicate issue of any previous issues..
Describe the issue
Seems there has been some changes recently to vscode settings. devcontainer.json needs some tuning
-
deprecated python linting settings in favour of extensions. Most
python.linting.*, python.formatting.*
settings will have no effect. A fix would be add extensions for black et al in devcontainer.json -
python.pythonPath
has been deprecated in favour ofpython.defaultInterpreterPath
. In my integration it seemspython.defaultInterpreterPath
needs to go in.vscode/settings.json
as well or vscode will not pick the correct interpreter
Cheers
Reproduction steps
- build devcontainer and vscode will throw warnings
Debug logs
2023-11-25 22:03:24.075 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-11-25 22:03:24.075 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-11-25 22:03:24.075 [info] Experiment 'pythonREPLSmartSend' is active
2023-11-25 22:03:24.075 [info] Experiment 'pythonTestAdaptercf' is active
2023-11-25 22:03:24.075 [error] Following setting is deprecated: "python.linting.pylintEnabled"
2023-11-25 22:03:24.075 [error] All settings starting with "python.linting." are deprecated and can be removed from settings.
2023-11-25 22:03:24.075 [error] Linting features have been moved to separate linter extensions.
2023-11-25 22:03:24.075 [error] See here for more information: https://code.visualstudio.com/docs/python/linting
Diagnostics dump
n/a