summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_editor.cpp
AgeCommit message (Collapse)Author
2022-04-07Add built-in Variant types to autocompletion listDavid Maziarka
Co-authored-by: Gustav <gusan092@student.liu.se>
2022-04-06GDScript: Add support for static method calls in native typesGeorge Marques
2022-04-03Merge pull request #59633 from EricEzaM/better-code-complete-updateRémi Verschelde
Improve sorting of Code Completion options.
2022-04-01Improve sorting of Code Completion options.Eric M
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-03-30Fix autocompletion of static methods in built-in types in GDScriptYuri Roubinsky
2022-03-28Refactor GDScript/C# script templates logic to be editor-onlyRémi Verschelde
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this.
2022-03-28Merge pull request #59553 from reduz/script-extension-supportRémi Verschelde
2022-03-28Revert "Sort autocomplete/code completion options in a better way"Juan Linietsky
2022-03-28Merge pull request #59612 from YeldhamDev/style_and_graceRémi Verschelde
2022-03-28Make script templates follow the GDScript style guideMichael Alexsander
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-24Improve sorting of Code Completion options.Eric M
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-03-06Remove duplicate editor settings definitionskobewi
2022-02-22Fixes cyclic detection from variables assigning themselves to themselves in ↵SaracenOne
autocomplete, and restricts initialization of variables from other variables which have not been declared above it in class body
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-04Merge pull request #57591 from vnen/gdscript-enum-fixesRémi Verschelde
2022-02-04String: Add contains().Anilforextra
2022-02-03GDScript: Consolidate behavior for assigning enum typesGeorge Marques
This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future.
2022-01-13Merge pull request #56268 from KoBeWi/🚗complete_settersRémi Verschelde
2022-01-10Merge pull request #56326 from NNesh/fix/unknown_default_value_callableRémi Verschelde
Extended the _make_arguments_hint function to get default values for function arguments in hint
2022-01-10Fixed <unknown> text for callable default value for a function arguments hintNNesh
Format switch Added a case for constant subscripts Fixed default value hinting for the enum type Removed is_null checking for value Added a case for dictionary
2022-01-06Merge pull request #55213 from Scony/fix-gdscript-crashRémi Verschelde
2022-01-05Merge pull request #56483 from vnen/gdscript-warning-annotationRémi Verschelde
Add annotation to ignore warnings
2022-01-04GDScript: Add annotation to ignore warningsGeorge Marques
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-02Improve editor template workflowfabriceci
Co-Authored-By: jmb462 <jmb462@gmail.com>
2021-12-27Remove autocomplete_setters_and_getters settingkobewi
2021-12-10Fix "Lookup Symbol" on global class memberscdemirer
"Lookup Symbol" on global class members now does switch to the relevant script.
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-21Fix godot crash on null expression, fixes #53862Pawel Lampe
2021-10-11Fix autocompletion of built-in functions in GDScriptYuri Roubinsky
2021-10-04GDScript completion: Handle quote style ad-hoc to remove editor dependencyRémi Verschelde
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`.
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Merge pull request #52800 from akien-mga/gdscript-remove-exp_rangeRémi Verschelde
2021-09-21Prevent local constant default value from incorrect override by a globalYuri Roubinsky
2021-09-17GDScript: Remove reference to remove `@export_exp_range`Rémi Verschelde
It was removed in 75688772b3efadb8a36b1bb7ccde9c08819bc58e to be replaced by `@export_range` with an `"exp"` hint string.
2021-09-13Merge pull request #52362 from vnen/gdscript-lambda-completion-crashRémi Verschelde
GDScript: Do not complete lambda arguments from parent class
2021-09-02GDScript: Do not complete lambda arguments from parent classGeorge Marques
Since lambdas are not overriding methods from the parent class, they should not try to check inheritance for signature matching.
2021-08-30Show help for built-in functions (@GlobalScope)William Deurwaarder
2021-08-26Use OrderedHashMap for autoloads to preserve orderLyuma
2021-08-17Remove underscore hacksMax Hilbrunner
Way less cruft. :) Co-authored-by: Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com>
2021-08-16Reorganise text editor settingsPaulb23
2021-08-13Style: Cleanup code using `text_editor/completion/use_single_quotes`Rémi Verschelde
2021-08-05Merge pull request #48615 from Razoric480/lsp-renameRémi Verschelde
Implement LSP didSave notification and rename request
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-21Use the standard C `INFINITY` and `NAN` constants directlyHugo Locurcio
The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly.
2021-07-17Implement didSave notification and rename requestFrancois Belair
2021-06-30Remove singleton variable shadowing.K. S. Ernest (iFire) Lee
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A