Skip to content

Commit cab87d6

Browse files
Update docs/guides/vscode.md
Co-authored-by: Ben <[email protected]>
1 parent a5b9439 commit cab87d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/vscode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ If you have environment variables that are needed by the context and the languag
157157

158158
- Open VSCode from a terminal that has the variables set already.
159159
- If you have `export ENV_VAR=value` in your shell configuration file (e.g. `.zshrc` or `.bashrc`) when initializing the terminal by default, the variables will be picked up by the language server if opened from that terminal.
160-
- Use environment variables pulled from somewhere else dynamically (e.g. a `.env` file) in your root project directory. This will automatically be picked up by the language server through the python environment that the extension uses.
161-
- Set the environment variables in the python environment that the extension uses. You can find detailed instructions [here](https://code.visualstudio.com/docs/python/environments#_environment-variables)
160+
- Use environment variables pulled from somewhere else dynamically in your `config.py` for example by connecting to a secret store
161+
- By default, a `.env` file in your root project directory will automatically be picked up by the language server through the python environment that the extension uses. For exact details on how to set the environment variables in the Python environment that the extension uses, see [here](https://code.visualstudio.com/docs/python/environments#_environment-variables)
162162

163163
You can verify that the environment variables are being passed to the language server by printing them in your terminal.
164164

0 commit comments

Comments
 (0)