How can I disable Cursor Tab on ignored files?

It doesn’t respect .gitignore or .cursorignore

Hi @kaandok

To exclude files, click on “Cursor Tab” in the status bar and choose which files to exclude.

You can also set up a list of excluded files in the settings. Here’s an example of the rules:

"cursor.cpp.disabledLanguages": ["plaintext", "markdown", "scminput"]

How does this let me disable Cursor Tab for certain files (such as the ones in .gitignore)? I’m not asking how I can disable it for certain file types.

At the moment, there’s no such option.

1 Like

I’m curious if you often exclude specific files in your .gitignore file. I usually only exclude confidential files like .env, so if that’s what you meant, your initial question might have been more like: “How can I exclude specific files from Cursor Tab?”