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

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?



Solution 1:[1]

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

Solution 2:[2]

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

Solution 3:[3]

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

Solution 4:[4]

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

  • Hide Ignored Names
  • Hide VCS Ignored Paths

Solution 5:[5]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Harry Moreno
Solution 2 Grzegorz Pawlik
Solution 3 jacob
Solution 4 TheoJohn
Solution 5 Ritz