virtualx-engine/tests
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
..
core Merge pull request #76936 from clayjohn/revert-hsl 2023-05-12 10:03:21 +02:00
data File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:35 +02:00
python_build Add GPUParticles to the OpenGL3 renderer. 2022-11-14 23:28:25 -08:00
scene sort code completions with rules 2023-05-23 05:12:34 +02:00
servers Add initial navigation tests 2023-02-13 21:39:09 +01:00
create_test.py One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
display_server_mock.h Add Unit Tests for Viewport InputEvent handling 2023-02-09 14:53:04 +01:00
SCsub Remove unused legacy tests 2022-04-07 00:38:44 +02:00
test_macros.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_macros.h Fix various errors when running the unit tests 2023-05-09 18:40:56 +02:00
test_main.cpp Fix multiple issues in WorkerThreadPool 2023-05-11 16:10:09 +02:00
test_main.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_tools.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_validate_testing.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00