Hide hidden(dot) files in github atom editor

岁酱吖の 提交于 2019-12-03 02:06:38

问题


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.


回答1:


Atom > 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



回答2:


1- From the Menu Bar go to File > Settings > Packages type in the Filter "tree-view" click on the setting of this package and then check the "Hide Ignored Names" choice.

2- Now go to "Core Setting" by File > Settings . In the Ignored Names box enter .* this will Hide ALL the hidden files/folders .

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




回答3:


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.




回答4:


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:




回答5:


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




回答6:


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 .



来源:https://stackoverflow.com/questions/22727463/hide-hiddendot-files-in-github-atom-editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!