JetBrains / JetBrains/idea-php-dotenv-plugin

Incorrect parsing for interpolation within single quotes

Open
#135 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
189
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Consider this code:
```env
#.env
TEST_VAR='test'
TEST_VAR2='${TEST_VAR}'
```

Plugin does not highlight second variable's value as interpolated.
![image](https://github.com/user-attachments/assets/608078f8-6533-4e27-b4bc-3ce4a7404bfd)

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.