adelf / idea-php-dotenv-plugin

environment parameters completion, based on .env file keys
MIT License
166 stars 13 forks source link

support files that end in ".env" not just files with that name #120

Open skewty opened 1 year ago

skewty commented 1 year ago

I get syntax colors and commenting in .env file but when I open dev.env it doesn't work.

Can you please add support for all files that end in ".env"?

maqduni commented 1 year ago

@skewty Override the file type as DotEnv and it'll work. Right click on the file in the file list view and find "Override File Type" option in the menu and choose DotEnv as the new file type. Syntax highlighting will start working for this file.