Lsp.ServerCaps – lsp-glib-3.0 Reference Manual
Packages
lsp-glib-3.0
Lsp
ServerCaps
call_hierarchy
code_action
code_lens
completion
declaration
definition
document_formatting
document_highlight
document_link
document_on_type_formatting
document_range_formatting
document_symbol
hover
implementation
inlay_hint
references
rename
signature_help
text_document_sync
type_definition
type_hierarchy
workspace_symbol
ServerCaps
ServerCaps.from_variant
@ref
to_variant
unref
ServerCaps
Object Hierarchy:
Description:
[
Compact
( opaque =
true
) ]
[
CCode
( ref_function =
"lsp_server_caps_ref"
, unref_function =
"lsp_server_caps_unref"
) ]
public
class
ServerCaps
The capabilities of the language server.
Namespace:
Lsp
Package:
lsp-glib-3.0
Content:
Properties:
public
CallHierarchyOptions
call_hierarchy
{
get
;
set
; }
Whether the server provides call hierarchy support.
public
bool
code_action
{
get
;
set
; }
The server provides code actions.
public
CodeLensOptions
code_lens
{
get
;
set
; }
The server provides code lens.
public
CompletionOptions
?
completion
{
get
;
set
; }
The server provides completion support.
public
bool
declaration
{
get
;
set
; }
The server provides goto-declaration support.
public
bool
definition
{
get
;
set
; }
The server provides goto-definition support.
public
bool
document_formatting
{
get
;
set
; }
The server provides document formatting.
public
bool
document_highlight
{
get
;
set
; }
The server provides document highlight support.
public
DocumentLinkOptions
document_link
{
get
;
set
; }
The server provides document links.
public
DocumentOnTypeFormattingOptions
?
document_on_type_formatting
{
get
;
set
; }
The server provides document formatting on typing.
public
bool
document_range_formatting
{
get
;
set
; }
The server provides document range formatting.
public
bool
document_symbol
{
get
;
set
; }
The server provides document symbol support.
public
bool
hover
{
get
;
set
; }
The server provides hover support.
public
bool
implementation
{
get
;
set
; }
The server provides goto-implementation support.
public
InlayHintOptions
inlay_hint
{
get
;
set
; }
Whether the server provides inlay hint support.
public
bool
references
{
get
;
set
; }
The server provides find references support.
public
RenameOptions
rename
{
get
;
set
; }
The server provides rename support.
public
SignatureHelpOptions
?
signature_help
{
get
;
set
; }
The server provides signature help support.
public
TextDocumentSyncKind
text_document_sync
{
get
;
set
; }
Defines how text documents are synced.
public
bool
type_definition
{
get
;
set
; }
The server provides goto-type-definition support.
public
TypeHierarchyOptions
type_hierarchy
{
get
;
set
; }
Whether the server provides type hierarchy support.
public
bool
workspace_symbol
{
get
;
set
; }
The server provides workspace symbol support.
Creation methods:
public
ServerCaps
()
public
ServerCaps.from_variant
(
Variant
variant)
throws
DeserializeError
Methods:
public
unowned
ServerCaps
@ref
()
public
Variant
to_variant
()
public
void
unref
()