JetBrains / idea-php-dotenv-plugin

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

Override .env.$env support #52

Closed siguycmo closed 4 years ago

siguycmo commented 4 years ago

Currently only .env files seem to have syntax highlighting, could/should this also apply to override files following the format of .env.* as per the Symfony Dotenv Component (using PHPStorm)?

adelf commented 4 years ago

Hi. Please check #34

siguycmo commented 4 years ago

I have checked that, I have the file types as: image Not sure what the actual solution is from that other ticket though?

adelf commented 4 years ago

I have the same config and my PhpStorm processes these files .env.$env or .env.$env.local correctly. Seems, some time ago you opened this file and marked it as text.. or ini... Check this file types and remove these patterns from there...

siguycmo commented 4 years ago

Hi, thanks. My filename was .env.site.prod looks like it doesnt support that format so have changed it to .env.site-prod and that works. Thanks!

cornwe19 commented 3 years ago

FYI this issue appears to be affecting IntelliJ for some reason.

2020-12-14_17-12-14