class LSP::DidChangeNotification

Overview

The document change notification is sent from the client to the server to signal changes to a text document. Before a client can change a text document it must claim ownership of its content using the textDocument/didOpen notification. In 2.0 the shape of the params has changed to include proper version numbers and language ids.

Included Modules

Defined in:

notifications/text_synchronization/did_change.cr

Constructors

Instance Method Summary

Instance methods inherited from class LSP::NotificationMessage

method : String method, method=(method : String) method=

Constructor methods inherited from class LSP::NotificationMessage

new(pull : JSON::PullParser)
new(**args)
new

Constructor Detail

def self.new(pull : JSON::PullParser) #

The document change notification is sent from the client to the server to signal changes to a text document. Before a client can change a text document it must claim ownership of its content using the textDocument/didOpen notification. In 2.0 the shape of the params has changed to include proper version numbers and language ids.


[View source]
def self.new(**args) #

Instance Method Detail


[View source]
def params=(params : DidChangeTextDocumentParams) #

[View source]