How do I prevent a directory from being visible or indexable in the project?
Suppose there is a directory that has a lot of files that are not code that I do not want to show up in Clion.
How do I go about removing them? It's perturbing that I can't exclude it from the workspace somehow.
Please sign in to leave a comment.
Hi Jeremy.
Please specify the files and folders, which you want to be ignored by CLion in the 'Ignore files and folders' field (Preferences (Settings) | Editor | File Types). You can find out more information in our web help: https://www.jetbrains.com/clion/help/file-types.html. Does that help?
We have also implemented 'Mark Directory As | Excluded' action (CPP-4443) in the upcoming 1.5 version. Stay tuned for the announcements in the blog.
Thanks that seemed to work. The option was a bit hard to find at first.