Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VScode: Is there a way to hide symlink results from Goto file.. (quick file open) in VScode? 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 literary useless if there is a significant symlink folder.

Compare with Atom or Sublime, they only display the 'real' files in their quick opens.

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.

like image 738
CarvedBlock Avatar asked Jul 15 '19 18:07

CarvedBlock


People also ask

How do I remove recents from VS Code?

Press Ctrl + Shift + P. Then, within the Quick Open bar, type in >Clear Recently Opened.


1 Answers

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

Search: Follow Symlinks

like image 150
Mark Avatar answered Nov 15 '22 06:11

Mark