-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how .env files work #544
Comments
@DonJayamanne Is it just a file named |
"python.envFile": "${workspaceFolder}/environmentFile.txt"
"envFile": "${workspaceFolder}/environmentFile.txt",
|
So if |
Yes
This default value comes from the configuration settings in
No. Currently we expect the user to create a file maually (named |
OK, so |
Yes |
Can you set values in the .env file that get picked up in the python workspace settings? Say I had an .env file with:
Then in my workspace settings I had:
Would this work? |
@monkeez |
I have a multi-line variable (encrypted private key). How can I get around this issue? |
@barakbd please create a separate issue for this (so it can be tracked). Currently its not supported, but should be easy to fix. |
Should probably cover it in https://code.visualstudio.com/docs/python/environments. Came up due to confusion found at https://stackoverflow.com/questions/48120642/visual-studio-code-python-import-paths .
The text was updated successfully, but these errors were encountered: