summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #96666 from aXu-AP/unique-node-no-quotesRémi Verschelde2024-09-111-2/+2
|\ | | | | | | Remove unneeded quotes from autocomplete % nodes
| * Remove unneeded quotes from autocomplete % nodesaXu-AP2024-09-071-2/+2
| | | | | | | | Removes unnecessary quotes for suggestions like $"%MyNode".
* | Merge pull request #78656 from Repiteo/typed-dictionaryRémi Verschelde2024-09-061-0/+4
|\ \ | |/ |/| | | Implement typed dictionaries
| * Implement typed dictionariesThaddeus Crews2024-09-041-0/+4
| |
* | Merge pull request #96326 from HolonProduction/completion-hacks-and-fixesRémi Verschelde2024-09-041-11/+11
|\ \ | |/ |/| | | Autocompletion: Reintroduce enum options on assignment
| * Autocompletion: reintroduce enum options on assignmentHolonProduction2024-08-301-11/+11
| |
* | StringName Dictionary keysrune-scape2024-08-291-1/+1
|/ | | | | also added 'is_string()' method to Variant and refactored many String type comparisons to use it instead
* Add `String.is_valid_unicode_identifier()`Haoyu Qiu2024-08-271-3/+3
| | | | | | | - Adds `is_valid_unicode_identifier()` - Adds `is_valid_ascii_identifier()` - Deprecates `is_valid_identifier()` - Renames `validate_identifier()` to `validate_ascii_identifier()`
* Improve autocompletion for indicesHolonProduction2024-08-261-4/+29
|
* Merge pull request #89274 from 0x0ACB/unchecked_castRémi Verschelde2024-07-261-1/+3
|\ | | | | | | Fix use after free in `GDScriptLanguage::debug_get_globals`
| * Fix user after free in `GDScriptLanguage::debug_get_globals`ACB2024-03-081-1/+3
| |
* | Merge pull request #94664 from dalexeev/gds-fix-make-arguments-hintRémi Verschelde2024-07-241-14/+7
|\ \ | | | | | | | | | GDScript: Fix incorrect default values ​​in `_make_arguments_hint()`
| * | GDScript: Fix incorrect default values ​​in `_make_arguments_hint()`Danil Alexeev2024-07-231-14/+7
| | |
* | | Merge pull request #85382 from HolonProduction/in-case-of-a-scriptRémi Verschelde2024-07-241-0/+14
|\ \ \ | |/ / |/| | | | | GDScript: Generate `arghint` for script types
| * | Generate `arghint` for script typesHolonProduction2024-07-131-0/+14
| | |
* | | Autocompletion: register depended parsers with the main parserHolonProduction2024-07-181-18/+9
|/ /
* | Autocompletion: Don't use `in` operator to decide over variant lookupHolonProduction2024-07-011-5/+8
| |
* | Fix symbol lookup for native enumsYuri Rubinsky2024-06-251-4/+23
| |
* | Merge pull request #93057 from HolonProduction/not-enough-code-pathsRémi Verschelde2024-06-191-9/+26
|\ \ | | | | | | | | | Autocompletion: Add support for string name option in more places
| * | Autocompletion: Add support for string name option in more placesHolonProduction2024-06-121-9/+26
| | |
* | | Fix goto definition for `new` methodYuri Rubinsky2024-06-081-2/+6
|/ /
* | Fix completion for `new` argumentsYuri Rubinsky2024-05-261-4/+27
| |
* | Merge pull request #91653 from ↵Rémi Verschelde2024-05-191-0/+6
|\ \ | | | | | | | | | | | | | | | HolonProduction/autocompletion-analyze-recursively-but-leave-the-parser-alone Autocompletion: Analyze CLASS types as they are encountered
| * | Autocompletion: Analyze CLASS types as they are encounteredHolonProduction2024-05-071-0/+6
| | |
* | | GDScript: Fix some export annotation issuesDanil Alexeev2024-05-131-0/+23
| | |
* | | Merge pull request #84492 from HolonProduction/reduce-const-arraysRémi Verschelde2024-05-071-0/+1
|\ \ \ | | | | | | | | | | | | Autocompletion: Mark datatype as constant for constant arrays
| * | | Autocompletion: mark datatype as constant for constant arraysHolonProduction2024-02-051-0/+1
| | | |
* | | | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-16/+14
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* | | GDScript: invalidate GDScriptParserRef when reloadingrune-scape2024-04-181-1/+1
| | |
* | | Merge pull request #89382 from dcaoc03/masterRémi Verschelde2024-04-091-7/+37
|\ \ \ | | | | | | | | | | | | Fix enum autocompletion for core classes
| * | | Fixed enum autocompletion for core classes (Issue #88858)Diogo Costa2024-03-151-7/+37
| | |/ | |/| | | | | | | Minor fix consisted in the use of [[fallthrough]] macro
* | | Add editor settings for autocompletion with NodePath and StringNameVolTer2024-03-191-1/+9
| | |
* | | Optimize SceneTree's `change_scene_to_file` autocompletionMicky2024-03-011-2/+16
|/ /
* | Add fallback argument hints for default valuesAiden Storey2024-02-111-0/+6
| |
* | GDScript: Reintroduce binary tokenization on exportGeorge Marques2024-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds back a function available in 3.x: exporting the GDScript files in a binary form by converting the tokens recognized by the tokenizer into a data format. It is enabled by default on export but can be manually disabled. The format helps with loading times since, the tokens are easily reconstructed, and with hiding the source code, since recovering it would require a specialized tool. Code comments are not stored in this format. The `--test` command can also include a `--use-binary-tokens` flag which will run the GDScript tests with the binary format instead of the regular source code by converting them in-memory before the test runs.
* | Merge pull request #88071 from ↵Rémi Verschelde2024-02-081-3/+11
|\ \ | | | | | | | | | | | | | | | Calinou/gdscript-nodepath-autocomplete-fix-identifiers Fix NodePath autocompletion to ensure paths are quoted when required
| * | Fix NodePath autocompletion to ensure paths are quoted when requiredHugo Locurcio2024-02-071-3/+11
| |/ | | | | | | | | | | Every component of the path is now checked to be a valid identifier, so that node names that start with a digit always require the full path to be quoted.
* / Fix autocompletion for enum members in the core classesYuri Rubinsky2024-02-071-54/+115
|/
* Better hide internal properties from usersYuri Sizov2024-01-291-3/+9
|
* Merge pull request #85239 from HolonProduction/global-class-property-locationYuri Sizov2024-01-251-4/+56
|\ | | | | | | Handle global classes when resolving property location
| * Handle global classes when resolving property locationHolonProduction2024-01-241-4/+56
| |
* | Merge pull request #85224 from HolonProduction/identifier-type-prefer-annotatedYuri Sizov2024-01-241-16/+24
|\ \ | |/ |/| | | Prefer identifiers annotated type if assigned type is incompatible to it
| * Prefer identifiers annotated type if assigned type is incompatible to itHolonProduction2024-01-171-16/+24
| |
* | Merge pull request #85215 from HolonProduction/type-from-property-class-nameRémi Verschelde2024-01-181-2/+13
|\ \ | | | | | | | | | Handle global classes when resolving type from `PropertyInfo`
| * | Handle global classes when resolving type from `PropertyInfo`HolonProduction2024-01-171-2/+13
| | |
* | | Merge pull request #87278 from HolonProduction/give-those-autoloads-an-upgradeYuri Sizov2024-01-171-16/+30
|\ \ \ | | | | | | | | | | | | Handle GDScript in `_type_from_variant` for autocompletion
| * | | Handle GDScript in `_type_from_variant` for autocompletionHolonProduction2024-01-161-16/+30
| | |/ | |/|
* | | Merge pull request #86554 from HolonProduction/lookup-subscriptYuri Sizov2024-01-171-1/+2
|\ \ \ | | | | | | | | | | | | Fix symbol lookup in index subscript
| * | | Fix symbol lookup in index subscriptHolonProduction2023-12-271-1/+2
| | | |
* | | | Merge pull request #85384 from HolonProduction/unique-name-completionYuri Sizov2024-01-171-5/+20
|\ \ \ \ | |_|/ / |/| | | | | | | Suggest scene unique nodes in `get_node` autocompletion