Atom Editor: How to unhide `.env` file in Atom

8k Views Asked by At

I've deleted .* from Ignored Names. All the . files are now showing in the sidebar (except for the .env file).

Why is only this one file hidden? How can I make it visible?

5

There are 5 best solutions below

0
On
  1. Click in the tree-view pane.
  2. Press i to toggle hidden files and directories.
0
On

If you are using Atom Nuclide you can find and uncheck the "Exclude VCS Ignored Paths" option in the Settings > Core:

enter image description here

0
On

It's in nuclide-package -> settings -> NUclide-file-tree and toggle:

  • Hide Ignored Names
  • Hide VCS Ignored Paths
4
On

If you look in the settings for the "tree-view" package, it has an option to hide files that are present in the current project's .gitignore file. You may have that option set, and have .env in the current .gitignore.

Preferences > Settings > Packages > search for "tree-view" > click "Settings" button:

enter image description here

0
On

If you are comfortable, check below.. I did the same thing.

Atom-> Config add the following lines at the bottom "tree-view": hideIgnoredNames: false hideVcsIgnoredFiles: false