Language server (sui-clippy-lsp)
The sui-clippy-lsp binary provides a minimal LSP server over stdio.
Capabilities
- After
textDocument/didOpenandtextDocument/didSavefor*.movefiles, it runs the samerun_source_lintspipeline as the CLI and publishestextDocument/publishDiagnostics. - Other requests receive
MethodNotFound(the server is intentionally small).
Editor setup
- Install the binary (
cargo install --path crates/sui-clippy-lsp). - Point your editor’s Move / custom LSP entry at
sui-clippy-lspwith stdio transport. - Open a file under a normal Move package so
Move.tomlcan be discovered upward from the file path.
Diagnostics respect sui-clippy.toml when present at the package root.