JetBrains / idea-php-dotenv-plugin

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

Incorrect parsing for interpolation within single quotes #135

Open stone-w4tch3r opened 2 months ago

stone-w4tch3r commented 2 months ago

Consider this code:

#.env
TEST_VAR='test'
TEST_VAR2='${TEST_VAR}'

Plugin does not highlight second variable's value as interpolated. image

But docker compose correctly interpolates it, and TEST_VAR2 will have "test" value

adelf commented 2 months ago

Interpolated values aren't supported yet.