summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GDScript: Allow constant expressions in annotationsDanil Alexeev2023-01-251-0/+3
|
* Merge pull request #69970 from poohcom1/fix/autocomplete-custom-classGeorge Marques2023-01-161-0/+8
|\ | | | | Fixes https://github.com/godotengine/godot/issues/69941
| * Add identifier completion for custom classes.poohcom12023-01-161-0/+8
| | | | | | | | | | Previously, custom class would only auto-complete for types in GDScript. This applies it to identifiers as well.
* | Fix GDScript script templates to use a PascalCase style for `_CLASS_`Yuri Rubinsky2023-01-141-1/+1
| |
* | Assorted enum and native type fixesocean (they/them)2023-01-091-6/+13
| |
* | Force double quotes for NodePaths with apostrophesjordi2023-01-071-1/+3
| |
* | Unify typing of variables, constants and parameters in GDScriptDmitrii Maganov2023-01-061-13/+13
| |
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | Remove unused code paragraph from gdscript_editor.cpp/complete_codeYuri Rubinsky2022-12-221-10/+0
|/
* Fix autocomplete on functions returning variantspoohcom12022-12-111-4/+5
| | | | - When guessing return type, check type hints before last return value
* Fix autocomplete crash as it would infinite loopAdam Scott2022-12-081-1/+1
|
* Fix lookup to docs for variables initialized with `get_node`Yuri Rubinsky2022-12-071-2/+5
|
* Fix completion for the raw `get_node` callYuri Rubinsky2022-12-061-35/+47
|
* Fix lookup code to pass functions with the same name as built-insYuri Rubinsky2022-11-281-11/+15
|
* Fix GDScript completion crashYuri Rubinsky2022-11-211-1/+1
|
* Fix completion popup for the variables created with `get_node` callYuri Rubinsky2022-11-141-61/+63
|
* Merge pull request #65712 from Chaosus/gds_fix_completionRémi Verschelde2022-11-141-1/+55
|\ | | | | fix https://github.com/godotengine/godot/issues/64477
| * Fix completion for variables initialized by `get_node` callYuri Rubinsky2022-09-121-1/+55
| |
* | GDScript compiler subclass bugfixesRune2022-11-131-2/+3
| |
* | Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-2/+2
| |
* | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-14/+14
| | | | | | | | change warnings=all to use /W4.
* | Fix outdated keywords autocompletionVolTer2022-10-061-3/+3
| |
* | Fix hide_slider vs no_slider inconsistency in editor property codeAaron Franke2022-10-031-1/+1
|/
* Rename `or_lesser` range property hint to `or_less`Hugo Locurcio2022-09-021-1/+1
| | | | | | | "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.
* Fix action name completion for `Input`Haoyu Qiu2022-08-151-2/+7
|
* Merge pull request #63015 from Xwdit/fix_gds_editor_tooltip_arg_typeRémi Verschelde2022-08-101-1/+5
|\
| * Fixed incorrect type display of function argument in GDScript editor tooltipsXwdit2022-08-101-1/+5
| |
* | Fixed incorrect type display of void return in GDScript editor tooltipsXwdit2022-08-101-1/+7
|/
* Prevent global functions from overriding completion of subscriptYuri Rubinsky2022-08-101-33/+33
|
* fix(gdscript): Fix infinite loop on type inferernce from super method callsAntonio Dell'Annunziata2022-07-291-5/+10
| | | | | | | When infering the type from a `super()` call, the gdscript_editor didn't use the base class to search for the original implementation of the method, but instead searched in the extending class. This caused the same function to be analyzed for type inference which created the infinite loop. Solves #63592
* Fix crash while trying to autocomplete non-global Autoloadcdemirer2022-07-181-2/+2
|
* Merge pull request #62699 from ↵Rémi Verschelde2022-07-061-1/+1
|\ | | | | | | cdemirer/fix-autocomplete-var-assigned-same-statement
| * Fix autocomplete for variable which is assigned to in the current statementcdemirer2022-07-041-1/+1
| |
* | Merge pull request #62690 from cdemirer/fix-infinite-guess-recursionRémi Verschelde2022-07-061-1/+1
|\ \
| * | Fix infinite recursion when guessing type of variable which is being assigned tocdemirer2022-07-041-1/+1
| |/
* | Merge pull request #62760 from cdemirer/fix-annotation-initializer-conflictRémi Verschelde2022-07-061-4/+4
|\ \ | | | | | | Fix priority of annotated type vs initializer type
| * | Fix priority of annotated type vs initializer typecdemirer2022-07-061-4/+4
| |/
* | Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde2022-07-061-0/+19
|\ \
| * | Add support for documenting built-in annotationsYuri Sizov2022-07-041-0/+19
| |/
* | Merge pull request #62707 from YuriSizov/gdscript-group-those-propsRémi Verschelde2022-07-061-0/+4
|\ \
| * | Add grouping annotations for class properties in GDScriptYuri Sizov2022-07-051-0/+4
| |/
* / Implement a BitField hintreduz2022-07-051-3/+3
|/ | | | Allows to specify the binder that an enum must be treated as a bitfield.
* Rename export_range's noslider option to no_sliderMarcus Elg2022-06-241-1/+1
|
* Allow autocompletion of "noslider" in export_rangeMarcus Elg2022-06-191-1/+4
|
* Merge pull request #61389 from snailrhymer/lookup-fixRémi Verschelde2022-05-251-2/+4
|\
| * Make Lookup Symbol recognize assert and preload in the script editorSnailRhymer2022-05-251-2/+4
| |
* | Fix lookup_code to properly handle symbols at start of assignmentsSnailRhymer2022-05-251-0/+1
|/
* Add a new HashSet templatereduz2022-05-201-2/+2
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed
* Replace most uses of Map by HashMapreduz2022-05-161-22/+22
| | | | | | | | | | | | * 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!
* Fix signal completion in GDScript editorYuri Rubinsky2022-05-121-0/+15
|