class LSProtocol::DidOpenTextDocumentNotification
- LSProtocol::DidOpenTextDocumentNotification
- Reference
- Object
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
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
- #id : Int32 | String | Nil
- #jsonrpc : String
-
#method : String
The method to be invoked.
- #params : DidOpenTextDocumentParams