godot/core
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
..
config Redo how the remote filesystem works 2023-05-08 11:57:54 +02:00
crypto mbedTLS: disable weak crypto and TLS versions. 2023-05-10 11:13:19 +02:00
debugger Fix thread IDs. 2023-04-24 15:13:58 +02:00
error Fix incorrect index error macros 2023-01-22 12:23:56 +01:00
extension Make *_operator_index in gdnative_interface not logging an error if called with an out-of-bound index 2023-05-13 20:01:55 +02:00
input Follow up to https://github.com/godotengine/godot/pull/76399 to fix input ANR in the Godot Android editor 2023-05-11 19:06:03 -07:00
io Merge pull request #75867 from tefusion/fix_http_client_unicode_request 2023-05-14 16:05:39 +02:00
math Merge pull request #76946 from AThousandShips/shadow_warning 2023-05-12 10:04:09 +02:00
object sort code completions with rules 2023-05-23 05:12:34 +02:00
os Merge pull request #76836 from Faless/tls/system_certs 2023-05-12 11:17:31 +02:00
string Merge pull request #76735 from AThousandShips/natural_cmp 2023-05-09 17:44:37 +02:00
templates Merge pull request #75901 from reduz/refactor-node-processing 2023-05-10 12:46:44 +02:00
variant Revert "Add API for HSL conversion" 2023-05-10 17:45:56 -03:00
SCsub Expose brotli decompression to the scripting API. 2023-03-29 22:43:36 +03:00
core_bind.cpp Merge pull request #76418 from reduz/method-bind-validated-call 2023-05-08 13:52:42 +02:00
core_bind.h Merge pull request #76418 from reduz/method-bind-validated-call 2023-05-08 13:52:42 +02:00
core_builders.py ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07:00
core_constants.cpp Merge pull request #76165 from and-rad/safe-credentials 2023-05-10 12:47:07 +02:00
core_constants.h Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATH 2023-05-08 11:00:29 -05:00
doc_data.h Make documentation sorting use natural order 2023-05-09 17:47:52 +02:00
register_core_types.cpp Fix multiple issues in WorkerThreadPool 2023-05-11 16:10:09 +02:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
typedefs.h Fix several clang-tidy bool literal conversion warnings 2023-03-04 16:38:35 +02:00
version.h Fix Windows StringFileInfo structure 2023-04-12 22:08:49 +02:00