I’m experiencing an issue where Cursor is failing to exclude files as specified in my ignore files. I’ve tried using .gitignore
, .cursorignore
, and .vscodeignore
, but none seem to be effective in hiding files in the explorer/file tree. I’ve included an image illustrating the problem.
Hey, I understand you want to hide all the files and folders you mentioned. To do this, you need to create a .vscode
folder inside your project. In it, create a settings.json
file and insert this:
"files.exclude": {
"**/*.class": true,
"**/*.so": true,
"**/*.egg-info": true,
"dist/": true,
"build/": true,
"eggs/": true
}
2 Likes
it works, thank you!