Skip to content

Fix the preferDaemon default in the README and document extraPaths - #673

Open
Manish Ram (Manishram-ai) wants to merge 1 commit into
microsoft:mainfrom
Manishram-ai:readme-prefer-daemon-extra-paths
Open

Manish Ram (Manishram-ai) wants to merge 1 commit into
microsoft:mainfrom
Manishram-ai:readme-prefer-daemon-extra-paths

Conversation

@Manishram-ai

Copy link
Copy Markdown

The settings table in the README says mypy-type-checker.preferDaemon defaults to true, but it's been false in package.json since #235. The feature list a few lines up already says to set it to true to turn the daemon on, so only the table was out of date.

mypy-type-checker.extraPaths is also missing from the table. It's in package.json, and the server passes it to mypy through MYPYPATH (_get_env_vars in lsp_server.py). When it's empty, the shared settings code falls back to python.analysis.extraPaths. Its values go through the same variable substitution as the other path settings, so I added it to the list under the table too.

README only. No code changes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant