Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/python-extensions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 11 additions & 8 deletions docs/introduction/ide-usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@ Codegen creates a custom Python environment in `.codegen/.venv`. Configure your
```

Alternatively, create a `.vscode/settings.json`:
```json
{
"python.defaultInterpreterPath": "${workspaceFolder}/.codegen/.venv/bin/python",
"python.analysis.extraPaths": [
"${workspaceFolder}/.codegen/.venv/lib/python3.11/site-packages"
]
}
```
```json
{
"python.defaultInterpreterPath": "${workspaceFolder}/.codegen/.venv/bin/python",
"python.analysis.extraPaths": [
"${workspaceFolder}/.codegen/.venv/lib/python3.11/site-packages"
]
}
```

5. Install the VSCode Python Extensions for LSP and debugging support. We recommend Python, Pylance and Python Debugger for the best experience.
<img src="/images/python-extensions.png" />
</Accordion>

<Accordion title="PyCharm" icon="python">
Expand Down