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

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

Eredita: RefCounted < Object

Funzionalità del server di linguaggio relative all'area di lavoro (workspace).

Descrizione

Fornisce funzionalità del server di linguaggio relative all'area di lavoro (workspace).

Metodi

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)


Descrizioni dei metodi

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

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


void didDeleteFiles(params: Dictionary) 🔗

Deprecato: 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) 🔗

Restituisce l'interfaccia dello script in un formatto leggibile dalla macchina.


String get_file_path(uri: String) 🔗

Converte un URI in un percorso di file.


String get_file_uri(path: String) const 🔗

Converte un percorso di file in un URI.


Error parse_local_script(path: String) 🔗

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


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

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


void publish_diagnostics(path: String) 🔗

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