0.2.0-dev Download ZIP
67 lines ·2.5 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="GDScriptWorkspace" inherits="RefCounted" api_type="editor" experimental="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd"> |
| 3 | <brief_description> |
| 4 | Workspace related language server functionality. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Provides language server functionality related to the workspace. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="apply_new_signal" deprecated="Might result in unwanted side effects for connected clients."> |
| 13 | <return type="void" /> |
| 14 | <param index="0" name="obj" type="Object" /> |
| 15 | <param index="1" name="function" type="String" /> |
| 16 | <param index="2" name="args" type="PackedStringArray" /> |
| 17 | <description> |
| 18 | </description> |
| 19 | </method> |
| 20 | <method name="didDeleteFiles" deprecated="Accessing LSP endpoints directly might lead to unwanted side effects. Connect to the server via TCP, like a regular language server client."> |
| 21 | <return type="void" /> |
| 22 | <param index="0" name="params" type="Dictionary" /> |
| 23 | <description> |
| 24 | </description> |
| 25 | </method> |
| 26 | <method name="generate_script_api"> |
| 27 | <return type="Dictionary" /> |
| 28 | <param index="0" name="path" type="String" /> |
| 29 | <description> |
| 30 | Returns the interface of the script in a machine-readable format. |
| 31 | </description> |
| 32 | </method> |
| 33 | <method name="get_file_path"> |
| 34 | <return type="String" /> |
| 35 | <param index="0" name="uri" type="String" /> |
| 36 | <description> |
| 37 | Converts a URI to a file path. |
| 38 | </description> |
| 39 | </method> |
| 40 | <method name="get_file_uri" qualifiers="const"> |
| 41 | <return type="String" /> |
| 42 | <param index="0" name="path" type="String" /> |
| 43 | <description> |
| 44 | Converts a file path to a URI. |
| 45 | </description> |
| 46 | </method> |
| 47 | <method name="parse_local_script" deprecated="Might result in unwanted side effects for connected clients."> |
| 48 | <return type="int" enum="Error" /> |
| 49 | <param index="0" name="path" type="String" /> |
| 50 | <description> |
| 51 | </description> |
| 52 | </method> |
| 53 | <method name="parse_script" deprecated="Might result in unwanted side effects for connected clients."> |
| 54 | <return type="int" enum="Error" /> |
| 55 | <param index="0" name="path" type="String" /> |
| 56 | <param index="1" name="content" type="String" /> |
| 57 | <description> |
| 58 | </description> |
| 59 | </method> |
| 60 | <method name="publish_diagnostics" deprecated="Might result in unwanted side effects for connected clients."> |
| 61 | <return type="void" /> |
| 62 | <param index="0" name="path" type="String" /> |
| 63 | <description> |
| 64 | </description> |
| 65 | </method> |
| 66 | </methods> |
| 67 | </class> |