searchvisual-studio-codesymlink

VScode: Is there a way to hide symlink results from Go to file.. (quick file open)? And search in general?


When one searches or uses the Goto file (Quick open) command (cmd+P), the search automatically includes everything from symlink folders. This makes the quick open useless if there are a lot of symlink folders.

image

Is there a way to exclude the symlinks? Or is this a feature request?

PS:

In project search, one can forcefully exclude paths, so I exclude the big symlink folders, but it's manual, not persistent, and it still does not affect ctrl+P.


Solution

  • There is a setting that will disable search from following symlinks. Disable:

    Search: Follow Symlinks