Individual files are complex, however folders must be accessible. Right click on the project -> Properties -> C/C++ General -> Paths and Symbols
Take a look at the Source Location tab:
(a) completely delete the source folder or
(b) define an exclusion filter (where you can also add folders, filters, and to a certain extent also files, etc.)
(c) Select one or more files or folders by left-clicking. Then right-click one of the selected files, then select Resource Configurations -> Exclude from build... It excludes all selected files or folders.
(d) Also check out File Types (in C / C ++ General) and go to the other tabs “Paths and Symbols” and see if you can delete anything ...
(e) And, as you can see, there is also an Indexer ( Right click on the project -> Properties -> Indexer , which can be configured
Now I hope that the DS-5 guys have not deactivated all of these options ...
Update: Of course, these options are also available (at least some of them) in the CDT. I changed my description accordingly ...
Lonzak
source share