0

If I use the command palette in VS Code to toggle Python linting (via > Python: Enable/Disable Linting), does this correspond to any of the settings that I see in the Settings tab? It seems that toggling it via the command palette doesn't change any of the (many) "linting enabled" settings (see screenshot below).

Where is the setting stored which gets toggled from the command palette? And, which one takes precedence if they conflict?

enter image description here

1 Answer 1

0

From my experimentation, this command is only available when a workspace is opened in VS Code and a python file is open in the current editor, and it edits the workspace's .vscode/settings.json file (modifying the python.linting.enabled setting). In multi-root workspaces, it also makes the setting change in the .vscode/settings.json file of the root workspace containing the currently opened Python file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.