Skip to content

Pyright diagnosticMode: "workspace" equivalent in Pyrefly #397

@Pristor

Description

@Pristor

Describe the Bug

Pyright has the following configurable settings when using it with an IDE like Zed, VSCode, etc.:

python.analysis.diagnosticMode [“openFilesOnly”, “workspace”]: Determines whether pyright analyzes (and reports errors for) all files in the workspace, as indicated by the config file. If this option is set to “openFilesOnly”, pyright analyzes only open files.

Currently, it appears that Pyrefly only supports the "openFilesOnly" diagnostic mode. Given the speed of Pyrefly, I believe it would make sense to implement support for the "workspace" mode as well.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    UserBugs reported by external users that should be prioritisedcodenavgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions