summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/editor
Commit message (Collapse)AuthorAgeFilesLines
...
* | GDScript: Fix POT generator crash on assignee with indexDanil Alexeev2023-09-141-3/+8
|/
* GDScript: Fix `get_*_list()` methods return incorrect infoDanil Alexeev2023-09-041-3/+6
|
* Fix highlighting of hex numbers with separatorsMewPurPur2023-08-281-3/+3
|
* GDScript: Improve DocGenDanil Alexeev2023-08-191-70/+123
|
* GDScript: Highlight comment markers (`TODO`, `FIXME`, etc.)Danil Alexeev2023-08-072-35/+119
|
* Merge pull request #80020 from dalexeev/gds-pot-gen-const-stringYuri Sizov2023-08-012-55/+62
|\ | | | | | | GDScript: Add constant string support for POT generator
| * GDScript: Add constant string support for POT generatorDanil Alexeev2023-07-292-55/+62
| |
* | GDScript: Add `@deprecated` and `@experimental` doc comment tagsDanil Alexeev2023-07-081-13/+31
|/
* Fix regression with enum descriptions now showing up in documentation.ocean (they/them)2023-07-021-1/+2
|
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-155-2/+8
| | | | | | | | | | | | | | | | | | | | 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
* Fix extraction of chained tr() callsHaoyu Qiu2023-05-271-0/+8
|
* Dump API docs from inline GDScript comments using --doctool --gdscript-docs PATHDavid Snopek2023-05-081-0/+1
|
* Improve and fix GDScript documentation generation & behaviorocean (they/them)2023-04-212-0/+313
| | | | | | Removes documentation generation (docgen) from the GDScript compiler to its own file. Adds support for GDScript enums and signal parameters and quite a few other assorted fixes and improvements.
* Add GDScript template to RichTextEffectRedMser2023-04-181-0/+17
|
* Make GDScript number highlighting stricterVolTer2023-03-011-5/+15
|
* Allow unicode identifier in GDScript syntax highlighterHaoyu Qiu2023-01-291-1/+1
|
* One Copyright Update to rule them allRémi Verschelde2023-01-054-116/+116
| | | | | | | | | | | | | | | | | | | | 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".
* Stop highlighting node refs if they are invalid identifiersVolTer2023-01-031-16/+17
|
* Remove redundant Variant-types initializationsMarkus Sauermann2022-11-141-1/+1
|
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-1/+1
|
* GDScript: fix highlighting '.' after global class nameRune2022-10-112-11/+15
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-6/+6
| | | | change warnings=all to use /W4.
* Fix more highlighting bugsVolTer2022-10-021-26/+35
|
* Merge pull request #65074 from MewPurPur/booleans-highlighting-fixRémi Verschelde2022-09-271-27/+25
|\ | | | | | | Fix highlighting after value keywords
| * Add missing values to binary operator highlighter check exceptionsVolTer2022-08-311-27/+25
| |
* | Fixed a case for global function highlightingVolTer2022-08-311-3/+13
|/
* Follow-up fixes to number highlightingVolTer2022-08-291-14/+15
|
* Merge pull request #65003 from MewPurPur/fix-number-coloringRémi Verschelde2022-08-291-50/+56
|\
| * Fix number highlightingVolTer2022-08-291-50/+56
| |
* | Merge pull request #64885 from Mickeon/rename-tooltip-hintRémi Verschelde2022-08-281-4/+4
|\ \ | |/ |/| Rename `hint_tooltip` to `tooltip_text` & setter getter
| * Rename `hint_tooltip` to `tooltip_text` & setgetMicky2022-08-271-4/+4
| | | | | | | | | | | | | | | | `hint_tooltip` -> `tooltip_text` `set_tooltip` -> `set_tooltip_text` `_get_tooltip` -> `get_tooltip_text` Updates documentation, too.
* | Merge pull request #64651 from MewPurPur/fix-globalfunc-highlightingRémi Verschelde2022-08-272-3/+31
|\ \ | |/ |/| Add new highlighting color for `@GDScript` and `@GlobalScope` functions
| * Added highlighting color for GDScript and GlobalScope functionsVolTer2022-08-252-3/+31
| |
* | Restore RigidBody2/3D, SoftBody names in physicsfabriceci2022-08-262-2/+2
| |
* | Tweaked StringName highlighting colorVolTer2022-08-251-2/+2
|/
* Replace Array return types with TypedArraykobewi2022-08-222-3/+3
|
* Merge pull request #63326 from MewPurPur/binary-highlighting-fixMax Hilbrunner2022-08-191-22/+47
|\ | | | | Fix highlighting of multiple operators
| * Improve binary operator highlightingVolTer2022-08-141-22/+47
| |
* | Improve script editor's light theme syntax colors for better readabilityHugo Locurcio2022-07-311-5/+5
|/ | | | | | | | New colors were hand-picked to have a better contrast rate, while still following the general coloring of the previous light theme. This improves the light theme's accessibility, especially in outdoor environments with direct sunlight.
* Highlight ^NodePath and &StringName differentlykobewi2022-07-192-3/+49
|
* Fix EditorScenePostImport templates for C#Raul Santos2022-06-161-3/+1
|
* Merge pull request #61486 from jtnicholl/import_script_templatesRémi Verschelde2022-06-152-0/+18
|\ | | | | Add script templates for EditorScenePostImport
| * Add script templates for EditorScenePostImportJonathan Nicholl2022-06-152-0/+18
| |
* | GDScript: Support `%` in shorthand for `get_node`George Marques2022-05-271-2/+2
|/ | | | | | The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name.
* Add a new HashSet templatereduz2022-05-201-4/+4
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-162-5/+5
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
* Add a new HashMap implementationreduz2022-05-121-3/+2
| | | | | | | | | | | | | | | | | Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
* Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio2022-05-031-1/+1
| | | | | | These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
* Refactor GDScript/C# script templates logic to be editor-onlyRémi Verschelde2022-03-288-0/+166
| | | | | Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this.
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
|