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