Skip to content

Option to automatically exclude .ruff_cache from file explorer and search #768

@jackpeplinski

Description

@jackpeplinski

It would improve developer experience if the Ruff VS Code extension offered an option to automatically add .ruff_cache/ to files.exclude and search.exclude global settings.

Since .ruff_cache/ is auto-generated and not meant to be edited or searched, this behavior would align with how VS Code handles other similar folders, e.g., node_modules/.

Ideally, the extension would detect the folder and prompt the user to exclude it from the file explorer and search results. This would also demphasize the folder by greying-it-out. Happy to implement if others think this would useful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions