ashald / EnvFile

EnvFile 3.x is a plugin for JetBrains IDEs that allows you to set environment variables for your run configurations from one or multiple files.
MIT License
539 stars 129 forks source link

ENV not work PyCharm #97

Closed gshmu closed 4 years ago

gshmu commented 4 years ago

VERSION 1.0 not work.

but VERSION=1.0 worked.

ashald commented 4 years ago

Could you provide more details please?

gshmu commented 4 years ago

PyCharm 2019.2.3 (Professional Edition) Build #PY-192.6817.19, built on September 25, 2019

Runtime version: 11.0.4+10-b304.69 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.15.1 GC: ParNew, ConcurrentMarkSweep Memory: 1979M Cores: 16

create env file, and enable it, using VERSION 1.0 not work. worked after add =.

ashald commented 4 years ago

The .env file format requires = between name and value - please see examples in docs https://github.com/ashald/EnvFile#env

gshmu commented 4 years ago

image the doc contain both '=' and 'space'