1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Improve LSP completion using scene owner

Fixes: #36473
This commit is contained in:
Rafael Delboni
2020-02-24 21:01:27 -03:00
parent 5e181ac9f1
commit 06bce137e3
2 changed files with 53 additions and 1 deletions

View File

@@ -33,12 +33,17 @@
#include "../gdscript_parser.h"
#include "core/variant.h"
#include "editor/editor_file_system.h"
#include "gdscript_extend_parser.h"
#include "lsp.hpp"
class GDScriptWorkspace : public Reference {
GDCLASS(GDScriptWorkspace, Reference);
private:
void _get_owners(EditorFileSystemDirectory *efsd, String p_path, List<String> &owners);
Node *_get_owner_node(String p_path);
protected:
static void _bind_methods();
void remove_cache_parser(const String &p_path);