How to show only included files in the ARM DS search results?

I am using ARM Development Studio as my development environment. One of the things that bugs me for a long time is the fact that when using the Search dialog (Ctrl+H when editing), then the search result view includes irrelevant results, like files that are excluded from the build, not to mention temporary files created by external tools. That's even when selecting the "Enclosing Project" search option. This creates clutter, which is our case, when projects contain hundreds of files (where only a subset are included in the active build configuration), and makes analyzing the results unnecessarily more cumbersome.

Is there a way to tell Search to not display the excluded files?

Note: I am aware of the "Working Set" search option, that would allow the precise selection of a subset of the files in the filesystem, but again, when dealing with hundreds of files, and changing build configurations, this become impractical.

Thanks.

Parents Reply Children
  • Thanks, Stephen.

    I was not aware of the "Derived" folder and file attribute suggested by the SO reference you provided. I gave it a try and it actually seems to work and eliminate the excluded file from appearing in the search result.

    The problem seems to be that this attribute is not tied to a specific Build Configuration. It is also not related to the "exclude from build" status of the file. This means that switching between configurations, and so changing the set of files that is part of the build, has no effect on the search results, and file that is marked as "derived" will not appear in any search.