summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve GDScript autocompletion for methodsLazy-Rabbit-20012024-11-221-4/+17
|
* Use `(r)find_char` instead of `(r)find` for single charactersA Thousand Ships2024-11-171-1/+1
|
* Merge pull request #97218 from wenqiangwang/local_debuggger_expr_evalulationThaddeus Crews2024-11-121-1/+25
|\ | | | | | | Add support for `print` command in local (command line `-d`) debugger
| * Added support for 'print' command in local (command line -d) debuggerWenqiang2024-09-281-1/+25
| |
* | Merge pull request #96927 from HolonProduction/completion-inner-class-base-crashThaddeus Crews2024-10-251-1/+3
|\ \ | | | | | | | | | Autocompletion: Don't use owner for inner classes
| * | Autocompletion: Don't use owner for inner classesHolonProduction2024-10-131-1/+3
| | |
* | | Add some comments to #endif's where it will easier lifeYevhen Babiichuk (DustDFG)2024-10-211-3/+3
|/ / | | | | | | | | | | | | Also added some new line to improve readability Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com> Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
* | Fix lookup symbol for enum members to search a correct code definitionChaosus2024-10-081-1/+13
| |
* | Merge pull request #96693 from HolonProduction/annotation-arg-hintRémi Verschelde2024-10-021-2/+3
|\ \ | | | | | | | | | Autocompletion: Add arghint for annotations
| * | Autocompletion: Add arghint for annotationsHolonProduction2024-09-071-2/+3
| | |
* | | Merge pull request #92263 from ↵Rémi Verschelde2024-10-021-5/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | HolonProduction/autocompletion-get-node-set-value-if-type-compatible Autocompletion: Keep `get_node` values which are compatible with type hint
| * | | Autocompletion: Keep get_node values which are compatible with type hintHolonProduction2024-07-121-5/+8
| | | |
* | | | Fix script editor wrongly replaces and quotes non-ASCII lettersHaoyu Qiu2024-09-231-2/+2
| |_|/ |/| |
* | | 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.