Class

LspServer

Description

abstract class Lsp.Server : Jsonrpc.Server
{
  /* No available fields */
}

A JSON-RPC server implementing the server’s side of the Language Server Protocol using GMainLoop.

Hierarchy

hierarchy this LspServer ancestor_0 JsonrpcServer ancestor_0--this ancestor_1 GObject ancestor_1--ancestor_0

Instance methods

lsp_server_get_trace_value

Gets the value of trace_value.

lsp_server_get_cancellable

Gets the value of cancellable.

lsp_server_initialize_async

The initialize request is sent as the first request from the client to the server. If the server receives a request or notification before the initialize request it should act as follows:.

lsp_server_initialize_finish
No description available.

lsp_server_initialized_async

The initialized notification is sent from the client to the server after the client received the result of the initialize request but before the client is sending any other request or notification to the server.

lsp_server_initialized_finish
No description available.

lsp_server_text_document_did_open_async

The document open notification is sent from the client to the server to signal newly opened text documents.

lsp_server_text_document_did_open_finish
No description available.

lsp_server_text_document_did_change_async

The document change notification is sent from the client to the server to signal changes to a text document. Before a client can change a text document it must claim ownership of its content using the textDocument/didOpen notification (see lsp_server_text_document_did_open_async() ).

lsp_server_text_document_did_change_finish
No description available.

lsp_server_text_document_did_save_async

The document save notification is sent from the client to the server when the document was saved in the client.

lsp_server_text_document_did_save_finish
No description available.

lsp_server_text_document_did_close_async

The document close notification is sent from the client to the server when the document got closed in the client.

lsp_server_text_document_did_close_finish
No description available.

lsp_server_code_action_async

The code action request is sent from the client to the server to compute commands for a given text document and range. These commands are typically code fixes to either fix problems or to beautify/refactor code. The result of a textDocument/codeAction request is an array of Command literals which are typically presented in the user interface. To ensure that a server is useful in many clients the commands specified in a code actions should be handled by the server and not by the client (see workspace/executeCommand and ServerCapabilities.executeCommandProvider). If the client supports providing edits with a code action then that mode should be used.

lsp_server_code_action_finish
No description available.

lsp_server_completion_async

The completion request is sent from the client to the server to compute completion items at a given cursor position.

lsp_server_completion_finish
No description available.

lsp_server_hover_async

The hover request is sent from the client to the server to request hover information at a given text document position.

lsp_server_hover_finish
No description available.

lsp_server_signature_help_async

The signature help request is sent from the client to the server to request signature information at a given cursor position.

lsp_server_signature_help_finish
No description available.

lsp_server_declaration_async

The go-to-declaration request is sent from the client to the server to resolve the declaration location for a symbol at a given text document position.

lsp_server_declaration_finish
No description available.

lsp_server_definition_async

The go-to-definition request is sent from the client to the server to resolve the definition location for a symbol at a given text document position.

lsp_server_definition_finish
No description available.

lsp_server_document_highlight_async

The document highlight request is sent from the client to the server to resolve document highlights for a given text document position.

lsp_server_document_highlight_finish
No description available.

lsp_server_document_symbol_async

The document symbol request is sent from the client to the server to return all symbols found in a given text document.

lsp_server_document_symbol_finish
No description available.

lsp_server_workspace_symbol_async

The workspace symbol request is sent from the client to the server to list project-wide symbols matching a given query string.

lsp_server_workspace_symbol_finish
No description available.

lsp_server_references_async

The references request is sent from the client to the server to resolve project-wide references for the symbol denoted by the given text document position.

lsp_server_references_finish
No description available.

lsp_server_implementation_async

The go-to-implementation request is sent from the client to the server to resolve the implementation location for a symbol at a given text document position.

lsp_server_implementation_finish
No description available.

lsp_server_rename_async

The rename request is sent from the client to the server to rename a symbol.

lsp_server_rename_finish
No description available.

lsp_server_prepare_rename_async

The prepare rename request is sent from the client to the server to check whether a rename is valid at the given position.

lsp_server_prepare_rename_finish
No description available.

lsp_server_code_lens_async

The code lens request is sent from the client to the server to compute code lenses for a given text document.

lsp_server_code_lens_finish
No description available.

lsp_server_formatting_async

The document formatting request is sent from the client to the server to format a whole document.

lsp_server_formatting_finish
No description available.

lsp_server_range_formatting_async

The document range formatting request is sent from the client to the server to format a given range in a document.

lsp_server_range_formatting_finish
No description available.

lsp_server_prepare_call_hierarchy_async

The prepare call hierarchy request is sent from the client to the server to prepare a call hierarchy for a symbol at a given text document position.

lsp_server_prepare_call_hierarchy_finish
No description available.

lsp_server_incoming_calls_async

The incoming calls request is sent from the client to the server to resolve incoming calls for a given call hierarchy item.

lsp_server_incoming_calls_finish
No description available.

lsp_server_outgoing_calls_async

The outgoing calls request is sent from the client to the server to resolve outgoing calls for a given call hierarchy item.

lsp_server_outgoing_calls_finish
No description available.

lsp_server_prepare_type_hierarchy_async

Prepares a type hierarchy for a symbol at a document position.

lsp_server_prepare_type_hierarchy_finish
No description available.

lsp_server_type_hierarchy_supertypes_async

Resolves the direct supertypes of a type hierarchy item.

lsp_server_type_hierarchy_subtypes_async

Resolves the direct subtypes of a type hierarchy item.

lsp_server_type_hierarchy_subtypes_finish
No description available.

lsp_server_inlay_hint_async

The inlay hint request is sent from the client to the server to resolve inlay hints for a given text document range.

lsp_server_inlay_hint_finish
No description available.

lsp_server_inlay_hint_resolve_async

The inlay hint resolve request is sent from the client to the server to resolve additional information for a given inlay hint.

lsp_server_inlay_hint_resolve_finish
No description available.

lsp_server_shutdown_async

The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client).

lsp_server_shutdown_finish
No description available.

lsp_server_exit
No description available.

Methods inherited from JsonrpcServer (4)
jsonrpc_server_accept_io_stream

This function accepts io_stream as a new client to the JsonrpcServer by wrapping it in a JsonrpcClient and starting the message accept loop.

jsonrpc_server_add_handler

Adds a new handler that will be dispatched when a matching method arrives.

jsonrpc_server_foreach

Calls foreach_func for every client connected.

jsonrpc_server_remove_handler

Removes a handler that was previously registered with jsonrpc_server_add_handler().

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Lsp.Server:trace-value

How we should log trace messages to the client.

Lsp.Server:cancellable
No description available.

Signals

Signals inherited from JsonrpcServer (4)
JsonrpcServer::client-accepted

This signal is emitted when a new client has been accepted.

JsonrpcServer::client-closed

This signal is emitted when a new client has been lost.

JsonrpcServer::handle-call

This method is emitted when the client requests a method call.

JsonrpcServer::notification

This signal is emitted when the client has sent a notification to us.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct LspServerClass {
  void (* initialize_async) (
    LspServer* self,
    LspClient* client,
    LspInitializeParams* init_params,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspInitializeResult* (* initialize_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* initialized_async) (
    LspServer* self,
    LspClient* client,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  void (* initialized_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* text_document_did_open_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentItem* text_document,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  void (* text_document_did_open_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* text_document_did_change_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspTextDocumentContentChangeEvent* content_changes,
    gint content_changes_length1,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  void (* text_document_did_change_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* text_document_did_save_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    const gchar* text,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  void (* text_document_did_save_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* text_document_did_close_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  void (* text_document_did_close_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* code_action_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspRange* range,
    LspCodeActionContext* context,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspAction** (* code_action_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* completion_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    LspCompletionContext* context,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspCompletionItem** (* completion_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* hover_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspHover* (* hover_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* signature_help_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspSignatureHelp* (* signature_help_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* declaration_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspLocation* (* declaration_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* definition_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspLocation* (* definition_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* document_highlight_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspDocumentHighlight* (* document_highlight_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* document_symbol_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspDocumentSymbolResult* (* document_symbol_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* workspace_symbol_async) (
    LspServer* self,
    LspClient* client,
    const gchar* query,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspSymbolInformation** (* workspace_symbol_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* references_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    LspReferenceContext* context,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspLocation* (* references_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* implementation_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspLocation* (* implementation_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* rename_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    const gchar* new_name,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspWorkspaceEdit* (* rename_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* prepare_rename_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspPrepareRenameResult* (* prepare_rename_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* code_lens_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspCodeLens** (* code_lens_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* formatting_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspFormattingOptions* options,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspTextEdit* (* formatting_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* range_formatting_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspRange* range,
    LspFormattingOptions* options,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspTextEdit* (* range_formatting_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* prepare_call_hierarchy_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspCallHierarchyItem** (* prepare_call_hierarchy_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* incoming_calls_async) (
    LspServer* self,
    LspClient* client,
    LspCallHierarchyItem* item,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspCallHierarchyIncomingCall** (* incoming_calls_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* outgoing_calls_async) (
    LspServer* self,
    LspClient* client,
    LspCallHierarchyItem* item,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspCallHierarchyOutgoingCall** (* outgoing_calls_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* prepare_type_hierarchy_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspPosition* position,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspTypeHierarchyItem** (* prepare_type_hierarchy_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* type_hierarchy_supertypes_async) (
    LspServer* self,
    LspClient* client,
    LspTypeHierarchyItem* item,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspTypeHierarchyItem** (* type_hierarchy_supertypes_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* type_hierarchy_subtypes_async) (
    LspServer* self,
    LspClient* client,
    LspTypeHierarchyItem* item,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspTypeHierarchyItem** (* type_hierarchy_subtypes_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* inlay_hint_async) (
    LspServer* self,
    LspClient* client,
    LspTextDocumentIdentifier* text_document,
    LspRange* range,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspInlayHint** (* inlay_hint_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    gint* result_length1,
    GError** error
  );
  void (* inlay_hint_resolve_async) (
    LspServer* self,
    LspClient* client,
    LspInlayHint* hint,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  LspInlayHint* (* inlay_hint_resolve_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* shutdown_async) (
    LspServer* self,
    LspClient* client,
    GAsyncReadyCallback _callback_,
    void* _callback__target
  );
  void (* shutdown_finish) (
    LspServer* self,
    GAsyncResult* _res_,
    GError** error
  );
  void (* exit) (
    LspServer* self
  );
  
}

No description available.

Class members
initialize_async: void (* initialize_async) ( LspServer* self, LspClient* client, LspInitializeParams* init_params, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

initialize_finish: LspInitializeResult* (* initialize_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

initialized_async: void (* initialized_async) ( LspServer* self, LspClient* client, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

initialized_finish: void (* initialized_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

text_document_did_open_async: void (* text_document_did_open_async) ( LspServer* self, LspClient* client, LspTextDocumentItem* text_document, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

text_document_did_open_finish: void (* text_document_did_open_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

text_document_did_change_async: void (* text_document_did_change_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspTextDocumentContentChangeEvent* content_changes, gint content_changes_length1, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

text_document_did_change_finish: void (* text_document_did_change_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

text_document_did_save_async: void (* text_document_did_save_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, const gchar* text, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

text_document_did_save_finish: void (* text_document_did_save_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

text_document_did_close_async: void (* text_document_did_close_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

text_document_did_close_finish: void (* text_document_did_close_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

code_action_async: void (* code_action_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspRange* range, LspCodeActionContext* context, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

code_action_finish: LspAction** (* code_action_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

completion_async: void (* completion_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, LspCompletionContext* context, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

completion_finish: LspCompletionItem** (* completion_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

hover_async: void (* hover_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

hover_finish: LspHover* (* hover_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

signature_help_async: void (* signature_help_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

signature_help_finish: LspSignatureHelp* (* signature_help_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

declaration_async: void (* declaration_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

declaration_finish: LspLocation* (* declaration_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

definition_async: void (* definition_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

definition_finish: LspLocation* (* definition_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

document_highlight_async: void (* document_highlight_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

document_highlight_finish: LspDocumentHighlight* (* document_highlight_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

document_symbol_async: void (* document_symbol_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

document_symbol_finish: LspDocumentSymbolResult* (* document_symbol_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

workspace_symbol_async: void (* workspace_symbol_async) ( LspServer* self, LspClient* client, const gchar* query, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

workspace_symbol_finish: LspSymbolInformation** (* workspace_symbol_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

references_async: void (* references_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, LspReferenceContext* context, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

references_finish: LspLocation* (* references_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

implementation_async: void (* implementation_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

implementation_finish: LspLocation* (* implementation_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

rename_async: void (* rename_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, const gchar* new_name, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

rename_finish: LspWorkspaceEdit* (* rename_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

prepare_rename_async: void (* prepare_rename_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

prepare_rename_finish: LspPrepareRenameResult* (* prepare_rename_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

code_lens_async: void (* code_lens_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

code_lens_finish: LspCodeLens** (* code_lens_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

formatting_async: void (* formatting_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspFormattingOptions* options, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

formatting_finish: LspTextEdit* (* formatting_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

range_formatting_async: void (* range_formatting_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspRange* range, LspFormattingOptions* options, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

range_formatting_finish: LspTextEdit* (* range_formatting_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

prepare_call_hierarchy_async: void (* prepare_call_hierarchy_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

prepare_call_hierarchy_finish: LspCallHierarchyItem** (* prepare_call_hierarchy_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

incoming_calls_async: void (* incoming_calls_async) ( LspServer* self, LspClient* client, LspCallHierarchyItem* item, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

incoming_calls_finish: LspCallHierarchyIncomingCall** (* incoming_calls_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

outgoing_calls_async: void (* outgoing_calls_async) ( LspServer* self, LspClient* client, LspCallHierarchyItem* item, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

outgoing_calls_finish: LspCallHierarchyOutgoingCall** (* outgoing_calls_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

prepare_type_hierarchy_async: void (* prepare_type_hierarchy_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspPosition* position, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

prepare_type_hierarchy_finish: LspTypeHierarchyItem** (* prepare_type_hierarchy_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

type_hierarchy_supertypes_async: void (* type_hierarchy_supertypes_async) ( LspServer* self, LspClient* client, LspTypeHierarchyItem* item, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

type_hierarchy_supertypes_finish: LspTypeHierarchyItem** (* type_hierarchy_supertypes_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

type_hierarchy_subtypes_async: void (* type_hierarchy_subtypes_async) ( LspServer* self, LspClient* client, LspTypeHierarchyItem* item, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

type_hierarchy_subtypes_finish: LspTypeHierarchyItem** (* type_hierarchy_subtypes_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

inlay_hint_async: void (* inlay_hint_async) ( LspServer* self, LspClient* client, LspTextDocumentIdentifier* text_document, LspRange* range, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

inlay_hint_finish: LspInlayHint** (* inlay_hint_finish) ( LspServer* self, GAsyncResult* _res_, gint* result_length1, GError** error )

No description available.

inlay_hint_resolve_async: void (* inlay_hint_resolve_async) ( LspServer* self, LspClient* client, LspInlayHint* hint, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

inlay_hint_resolve_finish: LspInlayHint* (* inlay_hint_resolve_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

shutdown_async: void (* shutdown_async) ( LspServer* self, LspClient* client, GAsyncReadyCallback _callback_, void* _callback__target )

No description available.

shutdown_finish: void (* shutdown_finish) ( LspServer* self, GAsyncResult* _res_, GError** error )

No description available.

exit: void (* exit) ( LspServer* self )

No description available.

Virtual methods

Lsp.ServerClass.initialize_async

The initialize request is sent as the first request from the client to the server. If the server receives a request or notification before the initialize request it should act as follows:.

Lsp.ServerClass.initialize_finish
No description available.

Lsp.ServerClass.initialized_async

The initialized notification is sent from the client to the server after the client received the result of the initialize request but before the client is sending any other request or notification to the server.

Lsp.ServerClass.initialized_finish
No description available.

Lsp.ServerClass.text_document_did_open_async

The document open notification is sent from the client to the server to signal newly opened text documents.

Lsp.ServerClass.text_document_did_change_async

The document change notification is sent from the client to the server to signal changes to a text document. Before a client can change a text document it must claim ownership of its content using the textDocument/didOpen notification (see lsp_server_text_document_did_open_async() ).

Lsp.ServerClass.text_document_did_save_async

The document save notification is sent from the client to the server when the document was saved in the client.

Lsp.ServerClass.text_document_did_close_async

The document close notification is sent from the client to the server when the document got closed in the client.

Lsp.ServerClass.code_action_async

The code action request is sent from the client to the server to compute commands for a given text document and range. These commands are typically code fixes to either fix problems or to beautify/refactor code. The result of a textDocument/codeAction request is an array of Command literals which are typically presented in the user interface. To ensure that a server is useful in many clients the commands specified in a code actions should be handled by the server and not by the client (see workspace/executeCommand and ServerCapabilities.executeCommandProvider). If the client supports providing edits with a code action then that mode should be used.

Lsp.ServerClass.code_action_finish
No description available.

Lsp.ServerClass.completion_async

The completion request is sent from the client to the server to compute completion items at a given cursor position.

Lsp.ServerClass.completion_finish
No description available.

Lsp.ServerClass.hover_async

The hover request is sent from the client to the server to request hover information at a given text document position.

Lsp.ServerClass.hover_finish
No description available.

Lsp.ServerClass.signature_help_async

The signature help request is sent from the client to the server to request signature information at a given cursor position.

Lsp.ServerClass.signature_help_finish
No description available.

Lsp.ServerClass.declaration_async

The go-to-declaration request is sent from the client to the server to resolve the declaration location for a symbol at a given text document position.

Lsp.ServerClass.declaration_finish
No description available.

Lsp.ServerClass.definition_async

The go-to-definition request is sent from the client to the server to resolve the definition location for a symbol at a given text document position.

Lsp.ServerClass.definition_finish
No description available.

Lsp.ServerClass.document_highlight_async

The document highlight request is sent from the client to the server to resolve document highlights for a given text document position.

Lsp.ServerClass.document_highlight_finish
No description available.

Lsp.ServerClass.document_symbol_async

The document symbol request is sent from the client to the server to return all symbols found in a given text document.

Lsp.ServerClass.document_symbol_finish
No description available.

Lsp.ServerClass.workspace_symbol_async

The workspace symbol request is sent from the client to the server to list project-wide symbols matching a given query string.

Lsp.ServerClass.workspace_symbol_finish
No description available.

Lsp.ServerClass.references_async

The references request is sent from the client to the server to resolve project-wide references for the symbol denoted by the given text document position.

Lsp.ServerClass.references_finish
No description available.

Lsp.ServerClass.implementation_async

The go-to-implementation request is sent from the client to the server to resolve the implementation location for a symbol at a given text document position.

Lsp.ServerClass.implementation_finish
No description available.

Lsp.ServerClass.rename_async

The rename request is sent from the client to the server to rename a symbol.

Lsp.ServerClass.rename_finish
No description available.

Lsp.ServerClass.prepare_rename_async

The prepare rename request is sent from the client to the server to check whether a rename is valid at the given position.

Lsp.ServerClass.prepare_rename_finish
No description available.

Lsp.ServerClass.code_lens_async

The code lens request is sent from the client to the server to compute code lenses for a given text document.

Lsp.ServerClass.code_lens_finish
No description available.

Lsp.ServerClass.formatting_async

The document formatting request is sent from the client to the server to format a whole document.

Lsp.ServerClass.formatting_finish
No description available.

Lsp.ServerClass.range_formatting_async

The document range formatting request is sent from the client to the server to format a given range in a document.

Lsp.ServerClass.range_formatting_finish
No description available.

Lsp.ServerClass.prepare_call_hierarchy_async

The prepare call hierarchy request is sent from the client to the server to prepare a call hierarchy for a symbol at a given text document position.

Lsp.ServerClass.incoming_calls_async

The incoming calls request is sent from the client to the server to resolve incoming calls for a given call hierarchy item.

Lsp.ServerClass.incoming_calls_finish
No description available.

Lsp.ServerClass.outgoing_calls_async

The outgoing calls request is sent from the client to the server to resolve outgoing calls for a given call hierarchy item.

Lsp.ServerClass.outgoing_calls_finish
No description available.

Lsp.ServerClass.prepare_type_hierarchy_async

Prepares a type hierarchy for a symbol at a document position.

Lsp.ServerClass.type_hierarchy_supertypes_async

Resolves the direct supertypes of a type hierarchy item.

Lsp.ServerClass.type_hierarchy_subtypes_async

Resolves the direct subtypes of a type hierarchy item.

Lsp.ServerClass.inlay_hint_async

The inlay hint request is sent from the client to the server to resolve inlay hints for a given text document range.

Lsp.ServerClass.inlay_hint_finish
No description available.

Lsp.ServerClass.inlay_hint_resolve_async

The inlay hint resolve request is sent from the client to the server to resolve additional information for a given inlay hint.

Lsp.ServerClass.inlay_hint_resolve_finish
No description available.

Lsp.ServerClass.shutdown_async

The shutdown request is sent from the client to the server. It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client).

Lsp.ServerClass.shutdown_finish
No description available.

Lsp.ServerClass.exit
No description available.