adelf / idea-php-dotenv-plugin

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

[bug]: not compatible with yaml files #100

Closed BlackHole1 closed 2 years ago

BlackHole1 commented 2 years ago

1.yaml (no any warning):

redis:
  port:

mysql:
  port:

rename 1.yaml to .env.yaml

redis:
  port:
  ~~~~ Duplicate key 

mysql:
  port:
  ~~~~ Duplicate key 

https://user-images.githubusercontent.com/8198408/148712250-c071dd01-1a63-4b20-859a-2cb83a6bc040.mp4

adelf commented 2 years ago

Please remove ".env.*" pattern from Preferences > Editor > File Types > .env

BlackHole1 commented 2 years ago

okey