Sublime Forum

How to exclude som folder from global search?

#1

I use very often the global search in file feature.
I’ve a very big ‘vendor’ subfolder. I need to have it visible, but I need to avoid it when searching in file content.

Is there a wat to se the project to exclude a folder from searching inside of it?

0 Likes

#2

Up

0 Likes

#3

Specific folders can be excluded during a Find in FIles search by adding an exclude pattern to the “Where” field, for example:

-FolderName/*

or multiple patterns:

-FolderName1/*,-FolderName2/*

This would need to be done each time you search so it’s not quite what you asked for, but it should work. You might also want to have a look at the Find++ plugin:

github.com/twolfson/FindPlusPlus

0 Likes

#4

Thanks for your reply.

0 Likes