JetBrains / JetBrains/idea-php-dotenv-plugin

<editor-fold> support for .env files

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

Description

Issue was reported here: https://youtrack.jetbrains.com/issue/IJPL-205157

## **Steps to reproduce**

Create `.env` or `.env.local` file and add the following content

```
#
SOME_ENV_A=someValueA
SOME_ENV_B=someValueB
SOME_ENV_C=someValueC
#
```

**Expected result** *(correct result)***: the fold arrow is displayed on hover**

**Actual result** *(faulty result)***: the fold arrow is not displayed**

## **Environment**
**PhpStorm 2025.2**

Build #PS-252.23892.419, built on August 1, 2025

## **Additional information**

Even though support for `.env` files was added this year and File Types setting does contain following masks:

```
*.env
.env
.env.*
```

… the `` sectioning doesn't work for these files.

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.