class Crystalline::Controller

Defined in:

crystalline/controller.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(server : LSP::Server) #

[View source]

Instance Method Detail

def on_init(init_params : LSP::InitializeParams) : Nil #

[View source]
def on_notification(message : LSP::NotificationMessage) : Nil #

[View source]
def on_request(message : LSP::RequestMessage) #

The compiler unfortunately prevents declaring the following signature for the time being: def on_request(message : LSP::RequestMessage(T)) : T forall T


[View source]
def on_response(message : LSP::ResponseMessage, original_message : LSP::RequestMessage | Nil) : Nil #

[View source]
def when_ready : Nil #

[View source]
def workspace : Workspace #

The project workspace.


[View source]
def workspace? : Workspace | Nil #

The project workspace.


[View source]