adelf / idea-php-dotenv-plugin

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

Doesn't work in PhpStorm #17

Closed steven-pribilinskiy closed 6 years ago

steven-pribilinskiy commented 6 years ago

This plugin have no effect in PhpStorm. Tested in two different installations There's even no syntax highlighting

adelf commented 6 years ago

It may happen if you assigned .env files as ini files. For highlighting. make sure that your files assigned to .env files type. http://adelf.ru/files/dotenv_type.png

codeaid commented 6 years ago

I have the same issue. All .env files are displayed as plain text. I have them configured as @adelf screenshot shows though.

adelf commented 6 years ago

@codeaid syntax highlighting hasn't implemented yet. So, it looks like plain text.

codeaid commented 6 years ago

Ah, that makes sense then. I thought it did that. So it only allows you to Ctrl+Click to navigate to the declaration at the moment?

adelf commented 6 years ago

@codeaid Finally I implemented syntax highlighting. 0.7 version will be released on monday or tuesday.