adelf / idea-php-dotenv-plugin

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

Hide values in .env files issues with comments #126

Open Materson opened 6 months ago

Materson commented 6 months ago

Hello, thank you for the plugin. I am using "Hide values in .env files" and I found some bugs:

  1. If I comment a hidden value using CTRL+/, it stays hidden but if I close a file and open it again, the value is visible.
  2. When I comment out a hidden value by manually adding the # sign, the value becomes visible.
  3. When I select several hidden values and comment them (using CTRL+/) the value that was selected last (where the text cursor remains) remains visible.

Plugin version: 2024.1 Pycharm version: 2023.3.5 OS: Windows 10, ver. 22H2, operating system compilation: 19045.4170

w0rng commented 1 week ago

I have the same issue. In the local env file, there are some secret keys that are commented out for testing. I would like these values to be hidden as well.