SP Language Server (`spls`)

spls implements the Language Server Protocol (LSP 3.17) over JSON-RPC 2.0. It delivers IDE intelligence to editors like VS Code, Neovim, Emacs, and Helix.

bash
1# Launch LSP daemon over standard I/O (for IDE integration)
2spls --stdio
3
4# Run with verbose diagnostic logging
5spls --stdio --log-level debug

Supported Capabilities

  • Real-Time Diagnostics: Identifies syntax and type errors on keystroke without saving.
  • Autocompletion: Suggests keywords, function signatures, class members, and stdlib modules.
  • Hover Documentation: Renders docstrings and type signatures when hovering over symbols.
  • Go to Definition: Jumps to symbol declaration across project files.
  • Formatting on Save: Invokes the native formatter engine.