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

Cmd+click doesn't work on .env

Open fleytman opened this issue 1 year ago • 2 comments

When pressing cmd+click in the file .env does not throw it to the place where dotenv () is used, but writes Cannot find declaration to go to image

fleytman avatar Dec 27 '24 05:12 fleytman

Find Usages will work only on key. So, please try CMd-click to "LOCALE".

And if it won't work, what dotenv() call do you mean? What language? How does it look like?

adelf avatar Dec 28 '24 12:12 adelf

Find Usages will work only on key. So, please try CMd-click to "LOCALE".

Doesn't work too

And if it won't work, what dotenv() call do you mean? What language? How does it look like?

I use Kotlin and dotenv-kotlin 6.5.0. I used to be able to get to the .env file from dotenv['LOCALE'], and from the .env file clicking on LOCALE to get back to where .env is used. This doesn't work on IntelliJ IDEA 2024.3.2.2 with 2024.3 idea-php-dotenv-plugin :(

fleytman avatar Feb 05 '25 13:02 fleytman