summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_editor.cpp
AgeCommit message (Collapse)Author
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
2021-06-19Added support for scripts reporting multiple errors to ScriptTextEditorEric M
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-15Adding some more missing renames for Transform3D and QuaternionBastiaan Olij
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-05-20Change behavior of String.rightTomasz Chabora
2021-05-19Show colored rects for autocompletion of Color constants in functionsYuri Roubinsky
2021-05-06Merge pull request #47776 from Razoric480/foreportRémi Verschelde
Implement LSP didDeleteFiles & make parser aware of sub-nodes
2021-05-04Merge pull request #47798 from ray90514/bug#47620Rémi Verschelde
Fix constants at function scope are not defined as constants for completion
2021-04-29Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-11Fix Constants at function scope are not defined as constants for autocompletionray90514
2021-04-10Implement LSP didDeleteFiles & make parser aware of sub-nodesFrancois Belair
2021-04-05Fix infinite loop when guessing argument type from parent classJulien Nguyen
2021-04-05Style: Apply clang-tidy's `modernize-use-nullptr`Rémi Verschelde
2021-03-30Move GDSript annotation application after type-checkingGeorge Marques
This ensures that annotations that rely on the datatype (such as @export) can validated it timely, allowing compound expressions instead of only literal values.
2021-03-01[script editor] Fix two special cases not being checked in code completionAndy Maloney
When this code was changed for 4.0, a "break" statement inside a for loop in 3.x was changed to "return". This means that the two special cases (autoloads and input actions) are never checked. Removing the return lets these work properly in the editor. (Also reorder conditionals to short-circuit and avoid expensive methods.)
2021-01-11Merge pull request #43980 from gvekan/fix-missing-function-hintsRémi Verschelde
Fix missing function hints
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-15Merge pull request #43890 from vnen/gdscript-builtin-functions-refactorRémi Verschelde
GDScript: Refactor builtin functions
2020-12-03Add bracket or space to some keyword completionsGustav
2020-12-02Refactor DocData into core and editor (DocTools) partsThakee Nathees
2020-11-30Fix missing function hintsGustav
2020-11-26GDScript: Refactor builtin functionsGeorge Marques
They are now called "utility functions" to avoid confusion with methods of builtin types, and be consistent with the naming in Variant. Core utility functions are now available in GDScript. The ones missing in core are added specifically to GDScript as helpers for convenience. Some functions were remove when there are better ways to do, reducing redundancy and cleaning up the global scope.
2020-11-10Fix completion for built-in load functionGustav
2020-11-09Refactored variant constructor logicreduz
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-10-23Shows ColorRect in Color constants autocompletionYuri Roubinsky
2020-08-26GDScript: Add recursion depth limit for completionGeorge Marques
To avoid crashes when there's a dependency loop.
2020-08-26GDScript: Fix crash when completing code with signalsGeorge Marques
2020-08-13Merge pull request #41224 from ThakeeNathees/fix-ctrl+click-not-workingGeorge Marques
Fix: ctrl + click not working on script member
2020-08-13Fix: ctrl + click not workingThakee Nathees
2020-08-05Fixing null callee crash.Stephen Nichols