virtualx-engine/editor/plugins
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
..
gizmos Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
tiles Merge pull request #74264 from timothyqiu/self-awareness 2023-05-08 13:52:23 +02:00
abstract_polygon_2d_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
abstract_polygon_2d_editor.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_blend_space_1d_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_blend_space_1d_editor.h Consistent with NodeBlendSpace1D option NodeBlendSpace2D 2023-01-31 02:14:55 +09:00
animation_blend_space_2d_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_blend_space_2d_editor.h Simplify some editor plugin logic and remove dead code 2023-01-05 21:04:54 +03:00
animation_blend_tree_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_blend_tree_editor_plugin.h Fix canceling add_node Popup doesn't disconnect previous node. 2023-01-10 14:35:09 +06:30
animation_library_editor.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
animation_library_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
animation_player_editor_plugin.cpp Expose interpolation methods for 3D track in Animation class 2023-04-25 01:45:14 +09:00
animation_player_editor_plugin.h Implement toggling pause / stop button to AnimationPlayerEditor 2023-01-14 07:10:20 +09:00
animation_state_machine_editor.cpp Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine 2023-04-24 16:44:21 +02:00
animation_state_machine_editor.h Rework StateMachine and nested StateMachine process 2023-04-18 19:06:51 +09:00
animation_tree_editor_plugin.cpp Merge pull request #75759 from TokageItLab/reimplement-grouped-statemachine 2023-04-24 16:44:21 +02:00
animation_tree_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
asset_library_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
asset_library_editor_plugin.h Provide more information about the 'Support' filter when no result was found 2023-01-17 19:02:21 +01:00
audio_stream_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
audio_stream_randomizer_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
audio_stream_randomizer_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
bit_map_editor_plugin.cpp Clean-up, harmonize, and improve StyleBox API 2023-01-19 20:02:21 +03:00
bit_map_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
bone_map_editor_plugin.cpp Use range iterators in LocalVector loops 2023-01-21 18:44:42 +01:00
bone_map_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_3d_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
canvas_item_editor_plugin.cpp Improve editor state persistence 2023-05-11 04:17:03 +02:00
canvas_item_editor_plugin.h Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
cast_2d_editor_plugin.cpp Improvements and fixes based on Weblate comments 2023-02-13 15:22:18 +08:00
cast_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
collision_polygon_2d_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
collision_polygon_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
collision_shape_2d_editor_plugin.cpp Merge pull request #76798 from KoBeWi/race_condition_except_there_is_no_thread 2023-05-08 12:20:57 +02:00
collision_shape_2d_editor_plugin.h Adds a scale_gizmo_handles entry to the Touchscreen editor settings 2023-05-07 15:55:28 -07:00
control_editor_plugin.cpp Use PropertyUsageFlags enum in parse_property 2023-01-31 23:31:15 +01:00
control_editor_plugin.h Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
cpu_particles_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
cpu_particles_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
cpu_particles_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
cpu_particles_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
curve_editor_plugin.cpp Add metadata to resource previews 2023-05-10 14:03:10 +02:00
curve_editor_plugin.h Add metadata to resource previews 2023-05-10 14:03:10 +02:00
debugger_editor_plugin.cpp Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
debugger_editor_plugin.h Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
dedicated_server_export_plugin.cpp Add "dedicated server" export mode which can strip unneeded visual resources 2023-01-23 13:24:54 -06:00
dedicated_server_export_plugin.h Add "dedicated server" export mode which can strip unneeded visual resources 2023-01-23 13:24:54 -06:00
editor_debugger_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_debugger_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_preview_plugins.cpp Add metadata to resource previews 2023-05-10 14:03:10 +02:00
editor_preview_plugins.h Add metadata to resource previews 2023-05-10 14:03:10 +02:00
editor_resource_conversion_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_resource_conversion_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
editor_resource_tooltip_plugins.cpp Enhance filesystem dock tooltips 2023-05-12 19:28:34 +02:00
editor_resource_tooltip_plugins.h Enhance filesystem dock tooltips 2023-05-12 19:28:34 +02:00
font_config_plugin.cpp Improve some editor strings for localization 2023-02-09 19:32:02 +08:00
font_config_plugin.h Use PropertyUsageFlags enum in parse_property 2023-01-31 23:31:15 +01:00
gdextension_export_plugin.h Fix GDExtensions library export when multiple architectures are set. 2023-02-27 17:00:38 +02:00
gpu_particles_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
gpu_particles_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gpu_particles_3d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
gpu_particles_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gpu_particles_collision_sdf_editor_plugin.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
gpu_particles_collision_sdf_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_editor.cpp Merge pull request #70548 from MewPurPur/fix-some-gradient-jank 2023-01-23 12:26:45 +01:00
gradient_editor.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
gradient_texture_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
gradient_texture_2d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
input_event_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
input_event_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
light_occluder_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
light_occluder_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
lightmap_gi_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
lightmap_gi_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
line_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
line_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
material_editor_plugin.cpp Use a SubViewport for CanvasItem inspector preview 2023-04-28 22:43:47 +02:00
material_editor_plugin.h Use a SubViewport for CanvasItem inspector preview 2023-04-28 22:43:47 +02:00
mesh_editor_plugin.cpp Use BitField<> in core type masks 2023-01-08 22:17:40 +01:00
mesh_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
mesh_instance_3d_editor_plugin.cpp Merge pull request #75765 from YuriSizov/editor-node-optimize-includes 2023-04-11 19:40:24 +02:00
mesh_instance_3d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
mesh_library_editor_plugin.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
mesh_library_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
multimesh_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
multimesh_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
navigation_link_2d_editor_plugin.cpp Rename Navigation uses of 'location' to 'position' 2023-01-26 18:19:03 +01:00
navigation_link_2d_editor_plugin.h Rename Navigation uses of 'location' to 'position' 2023-01-26 18:19:03 +01:00
navigation_obstacle_2d_editor_plugin.cpp Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_obstacle_2d_editor_plugin.h Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_obstacle_3d_editor_plugin.cpp Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_obstacle_3d_editor_plugin.h Rework Navigation Avoidance 2023-05-10 05:01:58 +02:00
navigation_polygon_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
navigation_polygon_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
node_3d_editor_gizmos.cpp Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
node_3d_editor_gizmos.h Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
node_3d_editor_plugin.cpp Add missing initializations for Node3DEditor. 2023-05-11 08:16:04 -07:00
node_3d_editor_plugin.h Add missing initializations for Node3DEditor. 2023-05-11 08:16:04 -07:00
occluder_instance_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
occluder_instance_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_translation_parser_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
packed_scene_translation_parser_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
path_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
path_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
path_3d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
path_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
physical_bone_3d_editor_plugin.cpp Fix skeleton_3d & physical_bone_3d editor errors 2023-05-10 18:03:30 +02:00
physical_bone_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
polygon_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
polygon_2d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
polygon_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
polygon_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
resource_preloader_editor_plugin.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
resource_preloader_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
root_motion_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
root_motion_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
script_editor_plugin.cpp Improve editor state persistence 2023-05-11 04:17:03 +02:00
script_editor_plugin.h Add multi window code and shader editors 2023-05-10 09:14:21 +02:00
script_text_editor.cpp sort code completions with rules 2023-05-23 05:12:34 +02:00
script_text_editor.h sort code completions with rules 2023-05-23 05:12:34 +02:00
SCsub Split Node3DGizmos into dedicated files 2023-04-20 20:12:47 +02:00
shader_editor_plugin.cpp Improve editor state persistence 2023-05-11 04:17:03 +02:00
shader_editor_plugin.h Improve editor state persistence 2023-05-11 04:17:03 +02:00
shader_file_editor_plugin.cpp Add ValidatedCall to MethodBind 2023-04-30 20:01:26 +02:00
shader_file_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_2d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
skeleton_2d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
skeleton_3d_editor_plugin.cpp Fix skeleton_3d & physical_bone_3d editor errors 2023-05-10 18:03:30 +02:00
skeleton_3d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
skeleton_ik_3d_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
skeleton_ik_3d_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
sprite_2d_editor_plugin.cpp Add EditorUndoRedoManager singleton 2023-01-16 01:11:52 +01:00
sprite_2d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sprite_frames_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
sprite_frames_editor_plugin.h Improve SpriteFrameEditor frame addition ordering 2023-03-30 18:56:46 +02:00
style_box_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
style_box_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sub_viewport_preview_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sub_viewport_preview_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
text_editor.cpp Move convert_indent into CodeEdit 2023-05-07 13:08:37 +01:00
text_editor.h Move convert_indent into CodeEdit 2023-05-07 13:08:37 +01:00
text_shader_editor.cpp Merge pull request #73588 from smosages/resolve-display-shader-settings-in-settings-editor 2023-05-09 19:28:17 +02:00
text_shader_editor.h Add shortcut for quick-toggling word wrap 2023-04-19 23:46:22 +02:00
texture_3d_editor_plugin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_3d_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_editor_plugin.cpp Improve Image preview in the inspector 2023-02-13 23:03:38 +01:00
texture_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_layered_editor_plugin.cpp Use BitField<> in core type masks 2023-01-08 22:17:40 +01:00
texture_layered_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
texture_region_editor_plugin.cpp Properly remember snapping options per-project 2023-03-09 21:12:26 +01:00
texture_region_editor_plugin.h Use PropertyUsageFlags enum in parse_property 2023-01-31 23:31:15 +01:00
theme_editor_plugin.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
theme_editor_plugin.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
theme_editor_preview.cpp Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
theme_editor_preview.h Improve includes of EditorNode (and everything else) 2023-04-07 18:59:49 +02:00
version_control_editor_plugin.cpp Merge pull request #74114 from dalexeev/editor-help-enable-context-menu 2023-03-16 12:19:05 +01:00
version_control_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
visual_shader_editor_plugin.cpp Add handling of custom visual shader nodes from GDExtension 2023-05-06 08:19:12 +03:00
visual_shader_editor_plugin.h Add handling of custom visual shader nodes from GDExtension 2023-05-06 08:19:12 +03:00
voxel_gi_editor_plugin.cpp Decouple EditorInterface from EditorPlugin 2023-04-17 21:59:09 +02:00
voxel_gi_editor_plugin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00