Skip to content

superlou/lapce-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lapce-python

The python language server pyls must be available on the path. Install the python language server by pip install python-lsp-server.

Additional functionality like type checking, refactoring, and formatting can be provided by installing dependencies as described in the README for python-lsp-server.

Build

rustup target add wasm32-wasi
cargo build

Develop

On OSX,

pip install pipx
pipx install python-lsp-server
# adds ~/.local/bin/pylsp
cd ~/Library/Application Support/dev.lapce.Lapce/plugins # or dev.lapce.Lapce-Stable
# exact files to link may vary with lapce releases
mkdir lapce-python; cd lapce-python
ln -s ~/prog/lapce-python/target/wasm32-wasi/debug/lapce-python.wasm .

Run lapce from the terminal to see error messages.

RUST_BACKTRACE=1 /Applications/Lapce.app/Contents/MacOS/lapce

About

Python LSP plugin for the Lapce editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published