Applies the given WorkspaceEdit to the workspace.
Closes an RPC session created with createRpcSession.
Creates an RPC session for the given uri and returns the session id. The extension takes care of keeping the RPC session alive. (The infoview cannot reliably send keep-alive messages because setInterval is throttled in the infoview when the vscode window is not visible.)
Insert text into a document. When pos is not present, write at the current cursor location.
Optionalpos: TextDocumentPositionParamsSend a notification to the LSP server.
Make a request to the LSP server.
Optionaloptions: ClientRequestOptionsHighlight a range in a document in the editor.
Like subscribeServerNotifications, but for client->server notifications.
Subscribe to notifications from the LSP server with the specified method.
Notifications which have been subscribed to will be fired through InfoviewApi.gotServerNotification.
This may be called multiple times, in which case the editor must count the subscriptions and only
stop firing events when unsubscribe has been called the same amount of times.
Interface that the InfoView WebView uses to talk to the hosting editor.