class LSProtocol::WillSaveTextDocumentWaitUntilRequest
- LSProtocol::WillSaveTextDocumentWaitUntilRequest
- Reference
- Object
Overview
A document will save request is sent from the client to the server before the document is actually saved. The request can return an array of TextEdits which will be applied to the text document before it is saved. Please note that clients might drop results if computing the text edits took too long or if a server constantly fails on this request. This is done to keep the save fast and reliable.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#id : Int32 | String
The request id.
- #jsonrpc : String
-
#method : String
The method to be invoked.
- #params : WillSaveTextDocumentParams