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.

GDScriptWorkspace

Experimental: This class may be changed or removed in future versions.

Hereda: RefCounted < Object

Funcionalidad de servidor de lenguaje relacionada con el área de trabajo (workspace).

Descripción

Proporciona funcionalidad de servidor de lenguaje relacionada con el área de trabajo.

Métodos

void

apply_new_signal(obj: Object, function: String, args: PackedStringArray)

void

didDeleteFiles(params: Dictionary)

Dictionary

generate_script_api(path: String)

String

get_file_path(uri: String)

String

get_file_uri(path: String) const

Error

parse_local_script(path: String)

Error

parse_script(path: String, content: String)

void

publish_diagnostics(path: String)


Descripciones de Métodos

void apply_new_signal(obj: Object, function: String, args: PackedStringArray) 🔗

Obsoleto: Might result in unwanted side effects for connected clients.


void didDeleteFiles(params: Dictionary) 🔗

Obsoleto: Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client.


Dictionary generate_script_api(path: String) 🔗

Devuelve la interfaz del script en un formato legible por máquina.


String get_file_path(uri: String) 🔗

Convierte una URI a una ruta de archivo.


String get_file_uri(path: String) const 🔗

Convierte una ruta de archivo a una URI.


Error parse_local_script(path: String) 🔗

Obsoleto: Might result in unwanted side effects for connected clients.


Error parse_script(path: String, content: String) 🔗

Obsoleto: Might result in unwanted side effects for connected clients.


void publish_diagnostics(path: String) 🔗

Obsoleto: Might result in unwanted side effects for connected clients.