-
|
Hi, thanks for this awesome project. Is the VSCode extension running on project mode or single file mode? Or could we choose which mode to run? If it's running on project mode, is there a way we can specify the config file path? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
From what I understand, project mode vs single file mode are CLI concepts, and the VSCode extension works a bit differently. But if you drop a |
Beta Was this translation helpful? Give feedback.
-
|
it runs on project mode in the sense that it uses your configured project to check any file you open in the same way the CLI would (i.e. it doesn't check files in isolation, but instead uses your pyrefly.toml and project root intelligently). currently, we only check open files. once we merge this, we'll have a way to provide diagnostics for an entire project, not just open files. |
Beta Was this translation helpful? Give feedback.
it runs on project mode in the sense that it uses your configured project to check any file you open in the same way the CLI would (i.e. it doesn't check files in isolation, but instead uses your pyrefly.toml and project root intelligently). currently, we only check open files. once we merge this, we'll have a way to provide diagnostics for an entire project, not just open files.