godot/tests/scene
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
..
test_animation.h Expose interpolation methods for 3D track in Animation class 2023-04-25 01:45:14 +09:00
test_arraymesh.h Fix LOD sort order; checks in add_surface; and document all parameters of ArrayMesh::add_surface_from_arrays 2023-01-19 10:30:25 +01:00
test_audio_stream_wav.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_bit_map.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_code_edit.h sort code completions with rules 2023-05-23 05:12:34 +02:00
test_curve_2d.h Add unit tests for Curve2D 2023-01-13 13:54:45 -03:00
test_curve_3d.h add unit tests for Curve3D 2023-05-10 19:12:06 +02:00
test_curve.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_gradient.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_navigation_agent_2d.h Add initial navigation tests 2023-02-13 21:39:09 +01:00
test_navigation_agent_3d.h Add initial navigation tests 2023-02-13 21:39:09 +01:00
test_node.h Added more node tests 2023-01-14 00:23:58 +01:00
test_path_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_path_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_path_follow_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_path_follow_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_primitives.h Implement BiDi override mode for GDScript source. 2023-01-18 19:22:20 +02:00
test_sprite_frames.h Merge pull request #65609 from dalexeev/animated-sprite 2023-01-05 15:00:31 +01:00
test_text_edit.h Fix ctrl+backspace crash with multicarets on the same line 2023-02-19 12:04:14 +00:00
test_theme.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_viewport.h Fix various errors when running the unit tests 2023-05-09 18:40:56 +02:00
test_visual_shader.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00