class LSProtocol::DidOpenTextDocumentNotification

Overview

The document open notification is sent from the client to the server to signal newly opened text documents. The document's truth is now managed by the client and the server must not try to read the document's truth using the document's uri. Open in this sense means it is managed by the client. It doesn't necessarily mean that its content is presented in an editor. An open notification must not be sent more than once without a corresponding close notification send before. This means open and close notification must be balanced and the max open count is one.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(params : DidOpenTextDocumentParams) #

[View source]

Instance Method Detail

def id : Int32 | String | Nil #

[View source]
def jsonrpc : String #

[View source]
def method : String #

The method to be invoked.


[View source]

[View source]