The ruff-lsp language server must be available on the path. You can install it using the following command:
pip install ruff-lsp
You can install the extension directly via the Lapce editor, in the extensions tab. Just search for Python (ruff-lsp).
Obs: Don't forget to check the autho's name.
Additional configuration via editor interface will be added in next updates.
Before building, you must ensure that you have the wasm32-wasi
target setup.
rustup target add wasm32-wasi
cargo build --target wasm32-wasi
cargo build --release --target wasm32-wasi
cd <lapse_dir>/dev.lapce.Lapce/plugins
mkdir lapce-ruff-lsp
cd lapce-ruff-lsp
ln -s <source_dir>/target/wasm32-wasi/debug/lapce-ruff-lsp.wasm ./bin/