Module: Ibex::LSP::RequestHandlers

Includes:
DocumentHandlers, InitializationHandlers, NavigationHandlers, RequestSupport
Included in:
Server
Defined in:
lib/ibex/lsp/request_handlers.rb

Overview

Dispatches the finite LSP surface to focused lifecycle, document, and navigation handlers.

Constant Summary collapse

HANDLERS =
{
  "initialize" => :initialize_workspace,
  "initialized" => :initialized_notification,
  "shutdown" => :shutdown_request,
  "exit" => :exit_notification,
  "textDocument/didOpen" => :did_open,
  "textDocument/didChange" => :did_change,
  "textDocument/didSave" => :did_save,
  "textDocument/didClose" => :did_close,
  "textDocument/definition" => :definition,
  "textDocument/references" => :references,
  "textDocument/prepareRename" => :prepare_rename,
  "textDocument/rename" => :rename,
  "textDocument/hover" => :hover,
  "$/cancelRequest" => :cancel_request
}.freeze