By default, the Atom editor hides files in its sidebar that match your VCS ignore file. This can be frustrating, as a hidden file isn’t necessarily one you don’t care about – for example, the node_modules folder will typically be excluded from a Node.js application, but you may wish to jump in and examine a module, do some debugging etc.
I wanted to show hidden files, so naturally I went to Preferences to look for an appropriate setting and found one that looked just the ticket: Settings > Core Settings > Exclude VCS Ignored Paths.
I figured that unticking this setting would do the job, but it made no difference – confusingly, it turns out that this is a global setting used by functionality such as fuzzy searching, and there is another setting that overrides this for the sidebar (a.k.a. tree view). Because Atom is modular, most of its components exist as independent packages. 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.
The first setting relates to another of the settings back on the main Settings panel (see first screenshot above) – Preferences > Settings > Core Settings > Ignored Names. This allows you to globally ignore file/folder patterns regardless of VCS ignore files. You probably want to leave this on unless you really want to be able to dig around in your `.git` folder within the editor.
Hope this saves somebody a bit of time and frustration as it took me ages to figure out! And I’m clearly not the only one, so hopefully Github will sort this soon.
17 Comments
Thanks for sharing!
I was so confused….thnx for sharing
Thank you!
I hate you atom. Why do you auto hide these files without my permission?
Thankyou!
*Terrible default atom!*
Awesome, thanks! It was driving me crazy!
Thanks you are awesome!
Saved my day! Thank you!
Thank you. This was helpful.
Thank you for clearing this up! While I was on the Tree View settings page, I noticed that there is a keybinding for this: i. So pressing ‘i’ when the tree view has focus will toggle this setting. This is really useful if you’re like me and get tired of seeing .DS_Store and npm-debug.log (etc.) files, but you still need to go into node_modules once in a while. Especially since the setting is so buried!
thanks for sharing
Thanks!
Thanks man definitely was causing issues for me today and it just randomly changed. Hope they fix it soon.
Thanks a lot . definitely solved this issue for me.
Thank you!!
Thanks! 🙂
nice!
5 Trackbacks
http://deqorogit.livejournal.com/590.html
Show hidden files in Atom sidebar
Slimming Tea Length Dresses
… health – Its slimming world rice pudding for breakfast is the optimal doses of hoodia, gordonii proactol, phentramin-d, and avatrim. People with a physician-supervised reduced-calorie di… Show hidden files in Atom sidebar – Luke Bennett …
free delivery code next july 2011
Show hidden files in Atom sidebar
http://www.promotioncodes.org.uk
Show hidden files in Atom sidebar
airlinereporter.com
Show hidden files in Atom sidebar