Superbol_vscode_lib.Instancetype client = Vscode_languageclient.LanguageClient.tval make : lsp_server_prefix:string -> context:Vscode.ExtensionContext.t -> tval subscribe_disposable : t -> Vscode.Disposable.t -> unitval context : t -> Vscode.ExtensionContext.tval cli_invocation :
t ->
Superbol_vscode_lib__.Superbol_languageclient.cli_invocationSee Superbol_languageclient.cli_invocation.
on_language_server_start t hook has hook called with the client each time start_language_server has (re)started the language server.
val stop_language_server : t -> unit Promise.tval start_language_server : t -> unit Promise.tval start_autorestarter : t -> unitval with_context_and_client :
f:(context:Vscode.ExtensionContext.t -> client:client -> 'result) ->
t ->
('a, Superbol_vscode_lib__.Superbol_types.error) Stdlib.result Promise.t as 'resultval lsp_request :
meth:string ->
data:Jsonoo.t ->
t ->
(Jsonoo.t, Superbol_vscode_lib__.Superbol_types.error) Stdlib.result
Promise.tval lsp_notification : meth:string -> data:Jsonoo.t -> t -> unitval current_document_uri :
?text_editor:Vscode.TextEditor.t ->
unit ->
Vscode.Uri.t optionmodule JSON : sig ... endval write_project_config :
?text_editor:Vscode.TextEditor.t ->
t ->
unit Promise.tval get_project_config :
?text_editor:Vscode.TextEditor.t ->
t ->
((string, Jsonoo.t) Stdlib.Hashtbl.t,
Superbol_vscode_lib__.Superbol_types.error)
Stdlib.result
Promise.tval toggle_comments :
?text_editor:Vscode.TextEditor.t ->
t ->
(unit, Superbol_vscode_lib__.Superbol_types.error) Stdlib.result Promise.tval save_untitled_document :
?text_editor:Vscode.TextEditor.t ->
t ->
unit Promise.tSaves the untitled document of the active (or given) text editor, proposing a file name derived from the name of its first program (or other compilation unit), if any.