diff options
author | Geequlim <geequlim@gmail.com> | 2019-06-24 18:25:12 +0800 |
---|---|---|
committer | geequlim <geequlim@gmail.com> | 2019-08-11 13:30:15 +0800 |
commit | 76c9e4ceb73b02bd95ab0512e27229516208dc60 (patch) | |
tree | b145ae3a4a837a109943f654bf433e704b7eac74 /modules/gdscript/language_server/gdscript_workspace.h | |
parent | fa6d6a329c93224b5454b17603284913da0472a3 (diff) |
Improved performance for completion and symbol resolvation.
Improved uri and workspace path translatation on windows platform.
The smart resolvation is much faster than builtin's in the server side.
The smart resolve mode is still disabled as default as the clients might be slow with a planty of completion items.
Diffstat (limited to 'modules/gdscript/language_server/gdscript_workspace.h')
-rw-r--r-- | modules/gdscript/language_server/gdscript_workspace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/language_server/gdscript_workspace.h b/modules/gdscript/language_server/gdscript_workspace.h index 2ae488b451..1ecaba6f1f 100644 --- a/modules/gdscript/language_server/gdscript_workspace.h +++ b/modules/gdscript/language_server/gdscript_workspace.h @@ -58,10 +58,11 @@ protected: public: String root; + String root_uri; Map<String, ExtendGDScriptParser *> scripts; Map<String, ExtendGDScriptParser *> parse_results; - Map<String, const lsp::DocumentSymbol *> flat_symbols; + HashMap<StringName, ClassMembers> native_members; public: Array symbol(const Dictionary &p_params); |