Search code examples
visual-studio-2017

How to make solution explorer search only file names


When I press Ctrl+; and type, VS searches both in file names and in C++ symbols (e.g. function names, class names). That would be OK, except that it is much slower than previous VS versions, due to this new feature.

How do I make it search only in file names?


Solution

  • The textbox you type in is actually a combobox.
    Click the dropdown button on the right and unselect "Search within file contents".

    enter image description here

    After checking, the Solution Explorer will refresh on it's own.