Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ find in files filter EXCLUDE

Tags:

find

notepad++

I'm looking for a way to get n++'s find in files dialog to exclude certain files...

the only reference I've found so far is this http://sourceforge.net/project/shownotes.php?release_id=536795&group_id=189927 , but, unfortunately, it doesn't work.

I'm using *[^*.dll] to, I think, search for everything BUT dll files.

How can I resolve this ?

Thanks

like image 394
reidLinden Avatar asked Nov 16 '10 20:11

reidLinden


People also ask

Can you filter in notepad?

You can filter the NotePad to show you only certain groups of cost items. By default, you can see all items in the NotePad. To open a job in the Manage Estimates screen, click Estimating > Estimating > Manage Estimates in the All Tasks pane. Then select the job you want to open, and click OK.

How do you search within notepad?

Finding text in Notepad and WordPad The Ctrl + F and Command + F keyboard shortcut keys also work in Microsoft Notepad and Microsoft WordPad.


2 Answers

Note, as of December 5th, 2019, Notepad++ 7.8.2 now supports exclude filters.

For example to exclude exe, zip and jar files, your 'find in files' filter will look like this;

*.* !*.exe !*.zip !*.jar

Relevant code change here.

like image 152
n00b Avatar answered Dec 09 '22 09:12

n00b


not that its a GOOD answer, but, what I've found that works is this

*.sql ; *.asp ; *.html ; *.as ; *.mxml 

Its definitely not an 'exclude' list, but, by including all the types I need to look at, I get the same result. In my case, I've only got those handfuls of types that I look for often. If your set was wider, this would become even less useful.

like image 25
reidLinden Avatar answered Dec 09 '22 08:12

reidLinden