I want to unblock the .env.local from the cursorignore file but the cursor ignore file is empty and i can not use this file on my chat. Anyone know how can i fix that? Thanks
Make file env.template and make cursor use it. I agree that it is bad, that you can’t control which files are “secrets” and can’t whitelist them.
The instructions said to add !.env* to .cursorignore to un-ignore from the global list, but it didn’t work. FYI.
thanks,your answer solved my biggest headache after upgrading to version 0.49
Didn’t work for me either.
To get .env un-ignored you have to go into Cursor → General settings and find where the global list matches the picture above, then click the trash can for the .env lines. Doing the “!” approach listed on the instructions didn’t actually work, but deleting it from the list under settings did work.
Didn’t seem to work on my end?
The way that @roy7 pointed out didn’t work either.
So I guess it’s actually under Preferences → VS Code Settings → Cursor → Global Cursor Ignore List. After removing the two lines related to .env, mine looks like this:
That worked!
Deleting it from “General”, “Appearance”, “Open editor settings”, and then find the global ignore list, click delete on the right side, worked.
thank you for this