.env
files are hidden by Netbeans. To show them do this:
Tools > Options > Miscellaneous > Files
Under Files Ignored be the IDE is Ignored Files Pattern:
The default is
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(htaccess|git.+|hgignore)$).*$
Add env to the excluded-not-excluded bit
^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn)$|~$|^\.(?!(env|htaccess|git.+|hgignore)$).*$
Files named .env
now show.