Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
GDScriptTextDocument
Застаріло: This class may be changed or removed in future versions.
Успадковує: RefCounted < Object
Document related language server functionality.
Опис
Provides language server functionality related to documents.
Методи
codeLens(params: Dictionary) |
|
colorPresentation(params: Dictionary) |
|
completion(params: Dictionary) |
|
Variant |
declaration(params: Dictionary) |
definition(params: Dictionary) |
|
void |
didChange(params: Variant) |
void |
didClose(params: Variant) |
void |
didOpen(params: Variant) |
void |
didSave(params: Variant) |
documentLink(params: Dictionary) |
|
documentSymbol(params: Dictionary) |
|
foldingRange(params: Dictionary) |
|
Variant |
hover(params: Dictionary) |
Variant |
nativeSymbol(params: Dictionary) |
Variant |
prepareRename(params: Dictionary) |
references(params: Dictionary) |
|
rename(params: Dictionary) |
|
resolve(params: Dictionary) |
|
void |
show_native_symbol_in_editor(symbol_id: String) |
Variant |
signatureHelp(params: Dictionary) |
void |
willSaveWaitUntil(params: Variant) |
Описи методів
Array codeLens(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array colorPresentation(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array completion(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Variant declaration(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array definition(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
void didChange(params: Variant) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
void didClose(params: Variant) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
void didOpen(params: Variant) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
void didSave(params: Variant) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array documentLink(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array documentSymbol(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array foldingRange(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Variant hover(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Variant nativeSymbol(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Variant prepareRename(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Array references(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Dictionary rename(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
Dictionary resolve(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
void show_native_symbol_in_editor(symbol_id: String) 🔗
Застаріло: Use ScriptEditor.goto_help() instead.
Variant signatureHelp(params: Dictionary) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.
void willSaveWaitUntil(params: Variant) 🔗
Застаріло: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.