virtualx-engine/core/object
ajreckof 006e899bb3 sort code completions with rules
Fixups

Add levenshtein distance for comparisons, remove kind sort order, try to improve as many different use cases as possible

Trying again to improve code completion

Sort code autocompletion options by similarity based on input

To make it really brief, uses a combination `String.similiary`, the category system introduced in a previous PR, and some filtering to yield more predictable results, instead of scattering every completion option at seemingly random.

It also gives much higher priority to strings that contain the base in full, closer to the beginning or are perfect matches.

Also moves CodeCompletionOptionCompare to code_edit.cpp

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
Co-Authored-By: Eric M <41730826+EricEzaM@users.noreply.github.com>
2023-05-23 05:12:34 +02:00
..
callable_method_pointer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
callable_method_pointer.h Complete support of callables of static methods 2023-04-12 18:12:19 +02:00
class_db.cpp Add peace-of-mind checks to API hash caching 2023-04-26 10:44:52 +02:00
class_db.h Improve reliability of editor docs cache 2023-04-25 11:40:56 +02:00
make_virtuals.py Add GodotTypeInfo::Metadata to MethodInfo 2023-01-26 15:51:34 +01:00
message_queue.cpp Avoid sync issues in resources with deferred updates 2023-05-10 18:53:41 +02:00
message_queue.h Avoid sync issues in resources with deferred updates 2023-05-10 18:53:41 +02:00
method_bind.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
method_bind.h Add ValidatedCall to MethodBind 2023-04-30 20:01:26 +02:00
object.cpp Merge pull request #75901 from reduz/refactor-node-processing 2023-05-10 12:46:44 +02:00
object.h Reorder PropertyHint enum to avoid breaking compat 2023-05-12 01:48:07 +02:00
object_id.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
ref_counted.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
ref_counted.h Add ValidatedCall to MethodBind 2023-04-30 20:01:26 +02:00
script_language.cpp sort code completions with rules 2023-05-23 05:12:34 +02:00
script_language.h sort code completions with rules 2023-05-23 05:12:34 +02:00
script_language_extension.cpp Remove unused ScriptLanguage methods 2023-02-26 22:30:56 -08:00
script_language_extension.h Remove unused ScriptLanguage methods 2023-02-26 22:30:56 -08:00
SCsub Implement native extension system 2021-06-25 17:32:45 -03:00
undo_redo.cpp Use range iterators in LocalVector loops 2023-01-21 18:44:42 +01:00
undo_redo.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
worker_thread_pool.cpp Merge pull request #72704 from myaaaaaaaaa/single-main-thread 2023-05-12 15:09:50 +02:00
worker_thread_pool.h Fix multiple issues in WorkerThreadPool 2023-05-11 16:10:09 +02:00