| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds binds for GraphEdit/GraphElement/GraphNode, which were
skipped before due to a rework. This also adds binds for Window,
which was skipped before due to a complicated code organization.
Also adds theme cache entries/direct cache access to a few places
that previously missed it. Some theme properties are now exposed
to other classes via friendships or public getters for convenience.
This removes all string-based theme access from scene/ classes.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Add compatibility methods for `RenderingDevice::shader_create_from_bytecode`
and `CodeEdit::get_text_for_symbol_loopup`.
- Silence errors which now have compatibility methods.
- Acknowledge GraphEdit/GraphNode compat breakage, intended and WIP.
|
|\
| |
| |
| | |
Fix jumping to function definition using `Ctrl+LMB` or the "Lookup Symbol" button
|
| |
| |
| |
| | |
Symbol' button.
|
| | |
|
|\ \
| | |
| | |
| | | |
Cancel autocomplete after initiating drag
|
| | | |
|
| | |
| | |
| | |
| | | |
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|
|\ \
| | |
| | |
| | | |
Fix auto-indentation in typed arrays, comments, and after colon
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Now the editor won't add indentation when pressing enter, is
declaring typed variables and there is a colon in the comment
example:
var a:=0#:[press enter]
no indentation
|
|\ \ \
| | | |
| | | | |
Code style improvements to text_edit and related
|
| | | | |
|
|/ / / |
|
|/ /
| |
| |
| | |
Fixes potential use of uninitialized variable.
|
| | |
|
|\ \
| | |
| | |
| | | |
Editor: Ignore CapsLock when pressed alone
|
| |/
| |
| |
| |
| |
| | |
pressed alone.
Before, it ended up closing the code completion, and rerendering portions of editor.
|
| | |
|
| |
| |
| |
| | |
Cancel code autocompletion when a numerical value is entered. Avoids interference when setting numbers.
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* All core types masks are now correctly marked as bitfields.
* The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks.
* Most bitmask operations replaced by functions in BitField<>
* Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is.
* Documentation and API dump updated to reflect bitfields in core types.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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".
|
| |
|
| |
|
|\
| |
| |
| | |
Allow drag-clicking before symbol lookup
|
| |
| |
| |
| |
| | |
This makes it easier for touch and tablet users to do symbol lookups in
the code editor.
|
| |
| |
| |
| | |
system conversion.
|
| |
| |
| |
| | |
Fixes and closes #67992
|
|\ \
| | |
| | |
| | | |
Stop centering clicked suggestions in the autocomplete popup
|
| | | |
|
|/ / |
|
|/ |
|
|
|
|
| |
change warnings=all to use /W4.
|
| |
|
| |
|
|\
| |
| |
| | |
Implement Shift+LMB as a Way to Toggle Bookmarks
|
| | |
|
|/
|
|
|
| |
Removes separate `Command` key (use `Meta` instead).
Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
|