| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fixes #68475.
|
|\
| |
| |
| | |
Fix functionality of Go To Definition for properties set/get
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:
Includes from the platform port or module ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.
Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:
- Local includes
* Conditional local includes
- Core includes
* Conditional core includes
- Thirdparty includes
* Conditional thirdparty includes
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
Use `String.repeat()` to optimize several String methods
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Which allows editable data associated with a particular class instead of
the instance. Scripts with static variables are kept in memory
indefinitely unless the `@static_unload` annotation is used or the
`static_unload()` method is called on the GDScript.
If the custom function `_static_init()` exists it will be called when
the class is loaded, after the static variables are set.
|
|\ \ \
| | | |
| | | | |
Fix multi-line string highlighting with single quotes.
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Use type hints for `@GlobalScope` enums.
* Use plain `int` for `BitMask<T>`.
* Fix type hints for typed arrays.
* Use `Variant` and `void` type hints.
* Discard unnecessary class prefix.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Avoid crashing if the completion gets stuck in infinite recursion while
trying to guess the expression type.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 7eb6367d5cb62fb48563ad940423198f792e3fe8.
Fixes #73058.
Fixes #73167.
This caused regressions, we'll retry with fixes for 4.1.
|
|\ \ \
| | | |
| | | |
| | | | |
Fixed the jumping to function definition using 'Ctrl+LMB'.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix code-completion suggesting non-static members for custom classes
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In GDScript code-completion:
- Fixes class symbols not being marked as meta
- Remove signal in static contexts
Fixes #69928
|
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
does not match base.
|
| |/ /
|/| | |
|
|\ \ \
| |/ /
|/| | |
Fixes https://github.com/godotengine/godot/issues/69941
|
| | |
| | |
| | |
| | |
| | | |
Previously, custom class would only auto-complete for types in GDScript.
This applies it to identifiers as well.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|/ / |
|
| |
| |
| |
| | |
- When guessing return type, check type hints before last return value
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
fix https://github.com/godotengine/godot/issues/64477
|
| | | |
|
| |/
|/| |
|
| | |
|
| |
| |
| |
| | |
change warnings=all to use /W4.
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
"less" should be used for quantity, rather than "lesser".
Existing scripts that use `or_lesser` in `_get_property_list()`
will need to be updated to account for this change.
|
| |
|
|\ |
|
| | |
|