You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
There's no way to exclude paths from a search #149
Something like *.js, !*.min.js does not work
Using just !*.min.js actually only searches .min.js files (inverse of what you might expect)
Unsure how to search *.js files but not *.min.js files
I am seeing the same buggy behaviour. If I do a search for something with the path pattern of "!directory/to/ignore" it search only in that directory rather than ignoring it and searching everything else.
Reacted by Scott R, Sorin Sbarnea, Alex Yim, Mark Solters, Chris Vaszauskas, Sanchit Nevgi, Marco Vossen, Erik Goens, Sergey Evstifeev, Alex Rattray (Stripe) and 2 more
Reacted by Sorin Sbarnea, Ahmed Hassanein, Sanchit Nevgi and Justin Herrick
FYI, this bug is closed. Posting here doesn't help fix your issue, and emails a bunch of people who can't help. For best results, please open a new bug. Thanks!
In order to search in a folder within my project folder and ignore the .git folder within it, I did the following
Just added , !.git after my folder path.
Reacted by dallanlee, Frank Lin, TTran, David Cowgill, Vicente Canales, Adam Oakman, bsr203, Siraj Rauff, KC Erb, Justin Calleja and 54 more
Reacted by Jorge Orpinel
Reacted by iain-ross, Thirumalaa Srinivas, BJR Matos, redundantautomata, jma, Jan Tammen, Jonah Werre, Alexandre Couret, jolancornevin and hassan
this works for me: !**/node_modules/**,!**/bower_components/**
Reacted by Mark Jarrell, Seth Feldkamp, Anthony, Trevor Sayre, Ben Lind, jma, Tim Pulver, Alessandro Di Felice, Meghan Urback, Sigurdur J Eggertsson and 40 more
Activity
benogle commentedon Mar 7, 2014
You can try the
!char. We use minimatch.TrevorSayre commentedon Mar 12, 2014
Something like
*.js, !*.min.jsdoes not workUsing just
!*.min.jsactually only searches .min.js files (inverse of what you might expect)Unsure how to search *.js files but not *.min.js files
dbkaplun commentedon Mar 19, 2014
Searching for
requirein!node_modules/*returns no results. Am I doing it wrong?jaikdean commentedon Apr 8, 2014
I am seeing the same buggy behaviour. If I do a search for something with the path pattern of "!directory/to/ignore" it search only in that directory rather than ignoring it and searching everything else.
noahrc commentedon Apr 10, 2014
'!' also doesn't exclude a file or directory for me, and using it multiple times makes no difference.
probablycorey commentedon Apr 10, 2014
Using the
!syntax to negate a search won't work right now. The problem is from this line https://github.com/atom/scandal/blob/master/src/path-filter.coffee#L47.But I don't see a solution around it other than fixing how scandal handles directory/file filtering.
probablycorey commentedon Apr 10, 2014
Moving from bug to enhancement.
102 remaining items
leongaban commentedon Feb 2, 2016
Ok I finally got this working, had to add
.sass-cacheinto my config.cson file, now when I fuzzy search I don't get.scsscfileskonstantinmagg commentedon Mar 2, 2016
+1 Would be great to ignore folters (e.g. 'bower_components' or 'node_modules') in the search bar.
@leongaban your solution worked for me, too. thx ;)
ocssor commentedon Mar 2, 2016
Right Click Folder -> Search in directory
Still searches in '.svn' despite that being in ignored names (both in core settings view and in config.cson).
akmur commentedon Mar 2, 2016
Thanks @leongaban
MichaelJCole commentedon Mar 2, 2016
FYI, this bug is closed. Posting here doesn't help fix your issue, and emails a bunch of people who can't help. For best results, please open a new bug. Thanks!
MohammedAl-Mahdawi commentedon Jun 23, 2016
In order to search in a folder within my project folder and ignore the

.gitfolder within it, I did the followingJust added
, !.gitafter my folder path.stringaro-leo commentedon Jan 25, 2017
this works for me:
!**/node_modules/**,!**/bower_components/**findsje commentedon Apr 10, 2017
Thanks, this worked for me. Was giving up on this! **/*.html was what I needed.
eugenealegiojo commentedon Jun 17, 2017
Nice! This works for me as well:
!*.min.jsmrahulreddy commentedon Oct 20, 2017
This works for me
!node_modulesjorgeorpinel commentedon Mar 6, 2018
Not working at all for me ): The "Exclude VCS Ignored Paths" option also not working.
jrial commentedon Jul 13, 2018
@jorgeorpinel could it be that your file was not saved at that time? If so, see #647
Add extra placeholder text on how to exclude files