.ENV files are not ignored in IDE cursor

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Today I ran into a strange issue: I have a .cursorignore file, but it no longer seems to ignore my .env file.

Steps to Reproduce

I tried restarting Cursor IDE but it still didn’t work

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.26 (Universal)
VSCode Version: 1.99.3
Commit: 6af2d906e8ca91654dd7c4224a73ef17900ad730
Date: 2025-09-16T17:12:31.697Z (14 hrs ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.6.0

Hey, thanks for the report. It looks like the icon for excluded files just isn’t showing, and you won’t be able to add this file to the context.

So when will the developer team fix this issue?

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.