Skip to content

Commit 531932f

Browse files
jayhackcodegen-bot
andauthored
docs: updates vscode installation to include python extensions (#195)
# Motivation <!-- Why is this change necessary? --> # Content <!-- Please include a summary of the change --> # Testing <!-- How was the change tested? --> # Please check the following before marking your PR as ready for review - [ ] I have added tests for my changes - [ ] I have updated the documentation or added new documentation as needed - [ ] I have read and agree to the [Contributor License Agreement](../CLA.md) Co-authored-by: codegen-bot <team+codegenbot@codegen.sh>
1 parent fb825b0 commit 531932f

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

docs/images/python-extensions.png

245 KB
Loading

docs/introduction/ide-usage.mdx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ Codegen creates a custom Python environment in `.codegen/.venv`. Configure your
2525
```
2626

2727
Alternatively, create a `.vscode/settings.json`:
28-
```json
29-
{
30-
"python.defaultInterpreterPath": "${workspaceFolder}/.codegen/.venv/bin/python",
31-
"python.analysis.extraPaths": [
32-
"${workspaceFolder}/.codegen/.venv/lib/python3.11/site-packages"
33-
]
34-
}
35-
```
28+
```json
29+
{
30+
"python.defaultInterpreterPath": "${workspaceFolder}/.codegen/.venv/bin/python",
31+
"python.analysis.extraPaths": [
32+
"${workspaceFolder}/.codegen/.venv/lib/python3.11/site-packages"
33+
]
34+
}
35+
```
36+
37+
5. Install the VSCode Python Extensions for LSP and debugging support. We recommend Python, Pylance and Python Debugger for the best experience.
38+
<img src="/images/python-extensions.png" />
3639
</Accordion>
3740

3841
<Accordion title="PyCharm" icon="python">

0 commit comments

Comments
 (0)