Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 538
GN. Avatar asked Jan 24 '17 18:01

GN.


People also ask

How do I make an .ENV file visible?

- The only directories that you can see in your browser if you set the document root to the public folder is the folders that are there, like the styles and scripts. Check the folder structure on your hosting and make sure the public folder is the document root.

How do I show hidden files in Atom?

Showing Hidden Files in AtomOpen Atom. Choose Settings > Core Settings. Uncheck Exclude VCS Ignored Paths.

How do I find a file in an Atom?

Once you have a project open in Atom, you can easily find and open any file within that project. If you press Ctrl+T or Ctrl+P , the Fuzzy Finder will pop up. This will let you quickly search for any file in your project by typing parts of the path.

How do I open Atom configuration?

You can open the Settings View by navigating to Edit > Preferences (Linux), Atom > Preferences (macOS), or File > Settings (Windows).


3 Answers

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

like image 185
Dan Lowe Avatar answered Oct 20 '22 14:10

Dan Lowe


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

like image 41
Grzegorz Pawlik Avatar answered Oct 20 '22 16:10

Grzegorz Pawlik


  1. Click in the tree-view pane.
  2. Press i to toggle hidden files and directories.
like image 24
jacob Avatar answered Oct 20 '22 16:10

jacob