idea-php-dotenv-plugin icon indicating copy to clipboard operation
idea-php-dotenv-plugin copied to clipboard

<editor-fold> support for .env files

Open lj-replicate opened this issue 4 months ago • 0 comments

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

# <editor-fold>
SOME_ENV_A=someValueA
SOME_ENV_B=someValueB
SOME_ENV_C=someValueC
# </editor-fold>

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 https://blog.jetbrains.com/phpstorm/2025/01/support-for-env-files/ and File Types setting does contain following masks:

*.env
.env
.env.* 

… the <editor-fold> sectioning doesn't work for these files.

lj-replicate avatar Sep 01 '25 09:09 lj-replicate