108
votes

I am very new to Github Atom editor. It always shows hidden files such as .git, .sass in the side pane.

How to hide hidden files(dot files) in atom editor's side pane.

6
Useful description on this at bit.ly/1Yxsv3EGrateful

6 Answers

201
votes

Edit > Preferences > Packages

In the field below "Installed Packages" type: "Tree View". This package has a few settings you can toggle, "Hide Ignored Names" is what you're looking for.

It's a really buried setting, not sure why.

You can also add it to your config:

'tree-view':
    'hideIgnoredNames': true
32
votes
  1. From the menu bar go to Edit > Preferences > Packages type in the filter "tree-view" click on the "Settings" button of this package and then check the "Hide Ignored Names" choice.

  2. Now go to Edit > Preferences > Core . In the Ignored Names box enter .* this will hide all the files/folders which are usually hidden in other file explorers.

If you want to hide normal files/folders just add them to this box separated by a Comma , for example : .*, Videos, Music

27
votes

You can configure Atom to ignore specific files by customizing the "Ignored Names" list Atom > Preferences > Settings > Core Settings > Ignored Names. Just add any file or directory to the list.

Important: to activate the Ignored Names list setting, so Atom ignores the files you configured, ensure that Hide Ignored Names is enabled under menu Atom > Preferences > Settings > Tree View > Hide Ignored Names.

There are many ways to customize atom. Check out the official Customizing Atom Page.

20
votes

As stated above, Application menu > Preferences… > select Packages in the sidebar, search for "Tree View", click the Settings button > check Hide Ignored Names.

And now with pictures:

enter image description here enter image description here

13
votes

just click on the i key in the tree view window

Click on the tree view from main window, type i on keyboard to toggle visibility of version control ignored files.

1
votes

In addition to all of the above info...

If you would like to hide all hidden files from the tree view:

  • Go to the core settings page and under "Ignored Names" enter .*

This will hide all files starting with a .