25 lines
590 B
Markdown
25 lines
590 B
Markdown
# pylsp Plugin for Claude Code
|
|
|
|
This plugin configures the Python Language Server (pylsp) for Claude Code.
|
|
|
|
## Features
|
|
|
|
- Go-to-definition
|
|
- Find references
|
|
- Hover information
|
|
- Code completion
|
|
- Diagnostics
|
|
|
|
## Configuration
|
|
|
|
The LSP server is configured to use `/home/agent/.local/bin/pylsp` with `--check-parent-process` to ensure proper shutdown.
|
|
|
|
## Installing Additional pylsp Plugins
|
|
|
|
You can enhance pylsp with additional plugins:
|
|
|
|
```bash
|
|
pip install pylsp-mypy # Type checking
|
|
pip install python-lsp-black # Black formatting
|
|
pip install python-lsp-ruff # Ruff linting
|
|
```
|