mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve sorting of Code Completion options.
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
This commit is contained in:
parent
74b07dd194
commit
4ab605d14d
7 changed files with 196 additions and 24 deletions
|
@ -161,6 +161,11 @@ void ScriptLanguageExtension::_bind_methods() {
|
|||
BIND_ENUM_CONSTANT(LOOKUP_RESULT_CLASS_TBD_GLOBALSCOPE);
|
||||
BIND_ENUM_CONSTANT(LOOKUP_RESULT_MAX);
|
||||
|
||||
BIND_ENUM_CONSTANT(LOCATION_LOCAL);
|
||||
BIND_ENUM_CONSTANT(LOCATION_PARENT_MASK);
|
||||
BIND_ENUM_CONSTANT(LOCATION_OTHER_USER_CODE);
|
||||
BIND_ENUM_CONSTANT(LOCATION_OTHER);
|
||||
|
||||
BIND_ENUM_CONSTANT(CODE_COMPLETION_KIND_CLASS);
|
||||
BIND_ENUM_CONSTANT(CODE_COMPLETION_KIND_FUNCTION);
|
||||
BIND_ENUM_CONSTANT(CODE_COMPLETION_KIND_SIGNAL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue