I'm using node_modules
to store my code, following the advice of this answer: https://stackoverflow.com/a/24630974/599184
However, Atom's search ignores node_modules
. How can I get it to include node_modules
in the search? I don't have node_modules
in Atom's "ignored names" setting.
I unchecked Exclude VCS ignored paths in main settings but it didn't work. So I did some research and I found out that there is another setting that overrides this.
The setting you need is found in
Settings > Packages > Core Packages > Tree View
Here you’ll find Hide Ignored Names and Hide VCS Ignored Files settings – the latter is the one you want to stop the sidebar from ignoring files that your VCS ignores.
Got this from the following source and it works for me:
blog.lukebennett.com/2015/09/21/show-hidden-files-in-atom-sidebar
The default behavior in Atom is to ignore the folders and files in .gitignore
Two solutions:
or
You can also try this for newer versions:
File > Config...
"*":
core:
excludeVcsIgnoredPaths: false <-- Set to false
uriHandlerRegistration: "always"
"exception-reporting":
userId: "****"
"tree-view":
hideVcsIgnoredFiles: false <-- Set to false
welcome:
showOnStartup: false
i
to toggle files and directories hidden by .gitignore
.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With