在 github 原子编辑器中隐藏隐藏(点)文件

我是 Github Atom 编辑器的新手。它总是在侧窗格中显示隐藏文件,如 .git.sass

如何在原子编辑器的侧窗格中隐藏隐藏文件(点文件)。

44637 次浏览

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

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.

  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

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 .

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

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.