Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 1.19 KB

File metadata and controls

64 lines (52 loc) · 1.19 KB

LSP Quick Reference

Common Flow

probe lsp status
probe lsp index --workspace .
probe lsp index-status
probe extract src/main.rs#main --lsp

Daemon Commands

probe lsp start -f
probe lsp restart
probe lsp shutdown
probe lsp ping
probe lsp languages

Logs and Diagnostics

probe lsp logs -n 200
probe lsp logs --follow
probe lsp logs --analyze -n 50000 --top 50
probe lsp doctor
probe lsp crash-logs

Direct LSP Calls

probe lsp call definition src/main.rs#main
probe lsp call references src/main.rs:42:10
probe lsp call hover src/main.rs#main
probe lsp call document-symbols src/main.rs
probe lsp call workspace-symbols main
probe lsp call call-hierarchy src/main.rs#main
probe lsp call implementations src/main.rs#SomeTrait
probe lsp call type-definition src/main.rs:42:10
probe lsp call fqn src/main.rs#main

Indexing Commands

probe lsp index --workspace .
probe lsp index --workspace . --recursive
probe lsp index --workspace . --wait
probe lsp index-stop
probe lsp index-config --help
probe lsp index-export --help

Useful Help Commands

probe lsp --help
probe lsp call --help
probe lsp index --help
probe lsp logs --help