LSP
Ενσωμάτωση editor μέσω του Sounio Language Server (sounio-lsp).
LSP (Language Server)
Το Sounio παρέχει LSP server για IDE/editor integration.
Build
Το sounio-lsp είναι ξεχωριστό binary πίσω από το feature lsp:
cargo build -p souc --release --features lsp
./target/release/sounio-lsp --help
Run (stdio mode)
Οι editors συνήθως ξεκινούν τον server με stdio:
./target/release/sounio-lsp --stdio
VS Code
Το repo περιέχει VS Code extension στο editors/vscode/.
Αν χρησιμοποιείτε extension που περιμένει souc lsp, ρυθμίστε το να τρέχει sounio-lsp (ή sounio-lsp --stdio).
Other Editors
Οποιοσδήποτε editor με LSP μπορεί να κάνει launch sounio-lsp --stdio.
Τυπικές δυνατότητες:
- diagnostics (syntax/type errors)
- hover (types/docs)
- go to definition / references
- completion