class LSProtocol::DidCloseTextDocumentNotification

Overview

The document close notification is sent from the client to the server when the document got closed in the client. The document's truth now exists where the document's uri points to (e.g. if the document's uri is a file uri the truth now exists on disk). As with the open notification the close notification is about managing the document's content. Receiving a close notification doesn't mean that the document was open in an editor before. A close notification requires a previous open notification to be sent.

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 : DidCloseTextDocumentParams) #

[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]