View Source cure_lsp_server (cure v0.1.0)
Cure Language Server Protocol (LSP) Implementation
This module implements the Language Server Protocol for the Cure programming language, providing IDE features like:
- Real-time syntax checking
 - Type inference hints
 - Go-to-definition
 - Hover information
 - Code completion
 - Diagnostics reporting
 
LSP Protocol
The server communicates over JSON-RPC 2.0 using stdio or TCP socket.
Features
Implemented
initialize- Server initializationtextDocument/didOpen- Document openedtextDocument/didChange- Document changedtextDocument/didSave- Document savedtextDocument/didClose- Document closedtextDocument/hover- Hover informationtextDocument/diagnostic- Real-time diagnostics
Planned
textDocument/completion- Code completiontextDocument/definition- Go to definitiontextDocument/references- Find referencestextDocument/rename- Symbol renaming
Summary
Functions
-spec stop() -> ok.