Skip to content

Commit 6c0e064

Browse files
sungchun12treysp
andauthored
Update docs/guides/vscode.md
Co-authored-by: Trey Spiller <[email protected]>
1 parent e4ba6c9 commit 6c0e064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The VSCode extension is based on a [language server](https://en.wikipedia.org/wi
155155

156156
If you have environment variables that are needed by the context and the language server, you can use one of these approaches to pass variables to the language server:
157157

158-
- Open VSCode from a terminal that has the variables set (e.g. `.zshrc` or `.bashrc`). This will automatically be picked up by the language server only if you have `export ENV_VAR=value` in your shell configuration file when initializing the terminal.
158+
- Open VSCode from a terminal that sets environment variables in its configuration file (e.g., `.bashrc` for Bash or `.zshrc` for Zsh). The variables will automatically be picked up by the language server only if you explicitly export them in the shell configuration file like `export ENV_VAR=value`.
159159
- 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.
160160
- 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)
161161

0 commit comments

Comments
 (0)