ItachiSan / lapce-ruff-lsp

Ruff LSP support for the Lapce editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruff LSP for the Lapce editor

Installing

Ruff LSP

The ruff-lsp language server must be available on the path. You can install it using the following command:

pip install ruff-lsp

Editor extension

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.

Configuration

Additional configuration via editor interface will be added in next updates.

Build

Before building, you must ensure that you have the wasm32-wasi target setup.

rustup target add wasm32-wasi

Debug

cargo build --target wasm32-wasi

Release

cargo build --release --target wasm32-wasi

Develop

OSX / Linux

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/

About

Ruff LSP support for the Lapce editor.

License:Apache License 2.0


Languages

Language:Rust 100.0%