Foundry.LspServer¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
[ |
r |
||
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.LspServer(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
- dup_languages()¶
- Returns:
a string array of languages
- Return type:
[
str]
Gets a string array of languages supported by the LSP.
- prepare(pipeline, launcher)¶
- Parameters:
pipeline (
Foundry.BuildPipelineorNone) – a [class`Foundry`.BuildPipeline]launcher (
Foundry.ProcessLauncher) –
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LspClient] or rejects with error
- Return type:
- do_dup_languages() virtual¶
- Returns:
a string array of languages
- Return type:
[
str]
Gets a string array of languages supported by the LSP.
- do_prepare(pipeline, launcher) virtual¶
- Parameters:
pipeline (
Foundry.BuildPipelineorNone) – a [class`Foundry`.BuildPipeline]launcher (
Foundry.ProcessLauncher) –
- Returns:
a [class`Dex`.Future] that resolves to a [class`Foundry`.LspClient] or rejects with error
- Return type: