How to pass a configuration file to the language server? #7650
-
This page says, multiple times, that a setting can be overridden by the configuration file. So how do I pass the configuration file content or path to the language server? Or how is this setting inferred from other information? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You place your configuration file (either a |
Beta Was this translation helpful? Give feedback.
You place your configuration file (either a
pyrightconfig.json
orpyproject.toml
) in the root directory of your project. Typically, you'll want to commit your config file to the repo so it can be shared by all of your project's collaborators. By contrast, language server settings are typically not committed to the repo and are specific to each developer.