Foundry.LspServer

g Foundry.Contextual Foundry.Contextual Foundry.LspServer Foundry.LspServer Foundry.Contextual->Foundry.LspServer GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

GObject.ObjectClass (5)

dup_languages ()

dup_name ()

prepare (pipeline, launcher)

supports_language (language_id)

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5)

do_dup_languages ()

do_dup_name ()

do_prepare (pipeline, launcher)

do_supports_language (language_id)

Properties

Inherited:

Foundry.Contextual (1)

Name

Type

Flags

Short Description

languages

[str]

r

name

str

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Foundry.Contextual

r

Class Details

class Foundry.LspServer(**kwargs)
Bases:

Foundry.Contextual

Abstract:

Yes

Structure:

Foundry.LspServerClass

dup_languages()
Returns:

a string array of languages

Return type:

[str]

Gets a string array of languages supported by the LSP.

dup_name()
Return type:

str

prepare(pipeline, launcher)
Parameters:
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.LspClient] or rejects with error

Return type:

Dex.Future

supports_language(language_id)
Parameters:

language_id (str) –

Return type:

bool

do_dup_languages() virtual
Returns:

a string array of languages

Return type:

[str]

Gets a string array of languages supported by the LSP.

do_dup_name() virtual
Return type:

str

do_prepare(pipeline, launcher) virtual
Parameters:
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.LspClient] or rejects with error

Return type:

Dex.Future

do_supports_language(language_id) virtual
Parameters:

language_id (str) –

Return type:

bool

Property Details

Foundry.LspServer.props.languages
Name:

languages

Type:

[str]

Default Value:

[]

Flags:

READABLE

Foundry.LspServer.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE