Support for .env file

I am using WebStorm 2021.3.1.

There is a question on `.env` file, since it seems like it's not supporting the syntax highlighting, commenting etc. for `.env`, but it supports `.env.*` like `.env.example`. 

How do I get `.env` supported? Below are screenshots for `.env` and `.env.local`

Below is screenshot for `.env`
[![enter image description here][1]][1]

Below is screenshot for `.env.local`
[![enter image description here][2]][2]


  [1]: https://i.stack.imgur.com/kGgDT.png

  [2]: https://i.stack.imgur.com/xkrjP.png

1 comment
Comment actions Permalink

Make sure that *.env and .env patterns are assigned to .env file file type in Settings | Editor | File Types

0

Please sign in to leave a comment.