You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/vscode.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ While installing the extension is simple, setting up and configuring a Python en
24
24
25
25
We recommend using a dedicated *Python virtual environment* to install SQLMesh. Visit the [Python documentation](https://docs.python.org/3/library/venv.html) for more information about virtual environments.
26
26
27
-
We describe the steps to create and activate a virtual environment below, but additional information is available on the [SQLMesh installation page](installation.md).
27
+
We describe the steps to create and activate a virtual environment below, but additional information is available on the [SQLMesh installation page](../installation.md).
28
28
29
29
We first install the SQLMesh library, which is required by the extension.
30
30
@@ -42,7 +42,7 @@ source .venv/bin/activate
42
42
43
43
#### Open-source SQLMesh
44
44
45
-
If you are using open-source SQLMesh, install SQLMesh with the `lsp` extra that enables the VSCode extension (learn more about SQLMesh extras [here](installation.md#install-extras)):
45
+
If you are using open-source SQLMesh, install SQLMesh with the `lsp` extra that enables the VSCode extension (learn more about SQLMesh extras [here](../installation.md#install-extras)):
46
46
47
47
```bash
48
48
pip install 'sqlmesh[lsp]'
@@ -62,7 +62,9 @@ Finally, add the `lsp` extra to your `tcloud.yml` configuration file, as describ
62
62
63
63
### VSCode Python interpreter
64
64
65
-
A Python virtual environment contains its own copy of Python (the "Python interpreter"). We need to make sure VSCode is using your virtual environment's interpreter rather than a system-wide or other interpreter that does not have access to the SQLMesh library we just installed.
65
+
A Python virtual environment contains its own copy of Python (the "Python interpreter").
66
+
67
+
We need to make sure VSCode is using your virtual environment's interpreter rather than a system-wide or other interpreter that does not have access to the SQLMesh library we just installed.
66
68
67
69
Confirm that VSCode is using the correct interpreter by going to the [command palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette) and clicking `Python: Select Interpreter`. Select the Python executable that's in the virtual environment's directory `.venv`.
0 commit comments