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
Функциональность языкового сервера, связанная с документацией.
Описание
Предоставляет функциональность языкового сервера, связанную с документами.
Методы
codeLens(params: Dictionary) |
|
colorPresentation(params: Dictionary) |
|
completion(params: Dictionary) |
|
declaration(params: Dictionary) |
|
definition(params: Dictionary) |
|
void |
|
void |
|
void |
|
void |
|
documentLink(params: Dictionary) |
|
documentSymbol(params: Dictionary) |
|
foldingRange(params: Dictionary) |
|
hover(params: Dictionary) |
|
nativeSymbol(params: Dictionary) |
|
prepareRename(params: Dictionary) |
|
references(params: Dictionary) |
|
rename(params: Dictionary) |
|
resolve(params: Dictionary) |
|
void |
show_native_symbol_in_editor(symbol_id: String) |
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.