summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #49650 from KoBeWi/FindReplaceCrashRémi Verschelde2021-06-241-3/+13
|\ | | | | Fix crash with FindReplaceBar
| * Fix crash with FindReplaceBarkobewi2021-06-241-3/+13
| |
* | Use mouse and joypad enums instead of plain integersAaron Franke2021-06-201-1/+3
| | | | | | | | Also MIDIMessage
* | Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-191-3/+3
|/
* Consistently prefix bound virtual methods with _kobewi2021-06-121-4/+4
|
* Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde2021-06-111-1/+1
| | | | | File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
* Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replaceRémi Verschelde2021-06-091-1/+12
|\ | | | | Move FindReplaceBar out of CodeTextEditor
| * Move FindReplaceBar out of CodeTextEditorkobewi2021-06-081-1/+12
| |
* | Don't save built-in script when adding methodkobewi2021-06-061-1/+3
| |
* | Merge pull request #47336 from Calinou/rename-shader-file-extensionRémi Verschelde2021-06-041-1/+1
|\ \ | |/ |/| Rename the `.shader` file extension to `.gdshader`
| * Rename the `.shader` file extension to `.gdshader`Hugo Locurcio2021-03-241-1/+1
| | | | | | | | | | This lets third-party software recognize Godot shaders more easily, without relying on guesswork since the `.shader` extension is generic.
* | Fixed console error spam (about invalid edited scene index)Yuri Roubinsky2021-05-261-2/+4
| |
* | Updates script list colors after theme is changedYuri Roubinsky2021-05-201-0/+3
| |
* | Fix crash when trying to save with no scenes and scripts openHugo Locurcio2021-05-181-2/+1
| | | | | | | | | | This could occur when attempting to save project settings when no scenes or scripts are open (which is common in a brand new project).
* | Merge pull request #37796 from Gogsi/masterRémi Verschelde2021-05-181-1/+1
|\ \ | | | | | | Improve consistency in file order
| * | Change EditorFileSystem and ScriptEditor file sorting order to improve ↵Georgi Genkov2021-05-181-1/+1
| | | | | | | | | | | | | | | | | | consistency. Fixes #37721.
* | | Improve TreeItem API and allow to move nodestrollodel2021-05-171-2/+2
|/ /
* | Add get_base_editor to ScriptEditorBasesent442021-05-151-0/+2
| |
* | Save the current script when pressing Ctrl + S if no scene is openHugo Locurcio2021-05-091-56/+56
| | | | | | | | | | | | - Tweak the dialog messages to be more informative. - The "Saved N modified resources" dialog is not a warning per se, so make it more explicit.
* | Merge pull request #33577 from Calinou/highlight-control-flow-keywordsRémi Verschelde2021-05-071-1/+6
|\ \ | | | | | | Highlight control flow keywords with a different color
| * | Highlight control flow keywords with a different colorHugo Locurcio2021-05-051-1/+6
| | | | | | | | | | | | This makes them easier to distinguish from other keywords.
* | | Merge pull request #45607 from Calinou/improve-editor-themeRémi Verschelde2021-05-061-8/+1
|\ \ \ | | | | | | | | Improve the editor theme
| * | | Improve the editor themeHugo Locurcio2021-04-271-8/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The editor theme now makes use of rounded corners and less borders to follow modern visual trends. The default theme's colors were also tweaked to make the blue hue more subtle (similar to the Arc theme, which was removed as a consequence). The Alien theme was replaced by a Breeze Dark theme, which should blend in well with the KDE theme.
* / / Save the current script when adding a new method via signal connectionHugo Locurcio2021-05-051-50/+58
|/ / | | | | | | | | | | | | | | | | This makes it possible for external editors to pick up the changes. Most modern editors should reload the file automatically, but some older/lightweight editors may ask the user instead (or only warn after trying to save in the external editor). This closes #41283.
* / Fix crashes in *_input functionsRafał Mikrut2021-04-051-0/+2
|/
* Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-2/+2
|
* Don't save unchanged script upon closingkobewi2021-03-061-6/+6
|
* Improve resource load cachereduz2021-02-111-1/+1
| | | | | | -Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
* Merge pull request #44514 from madmiraal/split-os-executeRémi Verschelde2021-01-121-1/+1
|\ | | | | Split OS::execute into two methods
| * Split OS::execute into two methodsMarcel Admiraal2021-01-091-1/+1
| | | | | | | | | | 1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
* | Fix script list only showing their names regardless of display optionMichael Alexsander2021-01-111-1/+14
|/
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | 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 🎆
* Editor: Fix invalid use of Node::get_viewport() after rename of ↵Rémi Verschelde2020-12-281-1/+1
| | | | | | | | | | | EditorNode::get_viewport() Fixes #44761, was a regression from #44524. The PR passed CI because EditorNode::get_viewport() used to shadow Node::get_viewport() (which was a bug in itself, fixed by #44524), so once it was renamed the existing code relying on it fell back to the now available Node::get_viewport(). This might bite some thirdparty modules too.
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-10/+10
|
* Fix filename disambiguation on scripts in certain occasionsMichael Alexsander2020-12-221-1/+1
|
* Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal2020-12-141-5/+5
| | | | | | Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
* Cleanup unused engine codeTomasz Chabora2020-12-091-11/+0
|
* Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut2020-12-021-12/+7
|
* Refactor DocData into core and editor (DocTools) partsThakee Nathees2020-12-021-0/+64
|
* Documentation generation for GDScriptThakee Nathees2020-11-291-0/+12
| | | | | | | | | | | | | | | | | | - ClassDoc added to GDScript and property reflection data were extracted from parse tree - GDScript comments are collected from tokenizer for documentation and applied to the ClassDoc by the GDScript compiler - private docs were excluded (name with underscore prefix and doesn't have any doc comments) - default values (of non exported vars), arguments are extraced from the parser - Integrated with GDScript 2.0 and new enums were added. - merge conflicts fixed
* Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde2020-11-281-5/+7
|\ | | | | Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
| * Implement new shortcuts system.Eric M2020-11-231-5/+7
| | | | | | | | unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
* | [Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg2020-11-261-2/+9
|/ | | | | | | | use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-1/+1
| | | | | | -Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
* Refactored Variant Operators.reduz2020-11-061-1/+1
| | | | | -Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
* Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb232020-09-101-4/+3
|
* Properly disambiguate unsaved scriptsTomasz Chabora2020-07-311-2/+6
|
* Script editor: Fix crash when root script is nullRémi Verschelde2020-07-271-3/+3
| | | | Bug introduced in #40746.
* Script editor: Fix open dominant logic for language-specific external editorsRémi Verschelde2020-07-271-2/+6
| | | | | | Follow-up to #40735. Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
* Script editor: Don't open dominant script in external editorRémi Verschelde2020-07-261-15/+11
| | | | Fixes #13429.