006e899bb3
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> |
||
---|---|---|
.. | ||
callable_method_pointer.cpp | ||
callable_method_pointer.h | ||
class_db.cpp | ||
class_db.h | ||
make_virtuals.py | ||
message_queue.cpp | ||
message_queue.h | ||
method_bind.cpp | ||
method_bind.h | ||
object.cpp | ||
object.h | ||
object_id.h | ||
ref_counted.cpp | ||
ref_counted.h | ||
script_language.cpp | ||
script_language.h | ||
script_language_extension.cpp | ||
script_language_extension.h | ||
SCsub | ||
undo_redo.cpp | ||
undo_redo.h | ||
worker_thread_pool.cpp | ||
worker_thread_pool.h |