Commit Graph

195 Commits

Author SHA1 Message Date
ff1858ad2c Merge pull request #102101 from KoBeWi/2d_3d_skrypt_gra_biblioteka_zasobów
Mark main screen plugin names for translation
2025-03-29 10:16:33 -05:00
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
dade8bd66f Update script modified times when saved in EditorNode 2025-03-06 14:47:33 +01:00
ead16435bf Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00
cc2ea339d8 Mark main screen plugin names for translation 2025-01-27 22:31:47 +01:00
b761ff662e Rework script external modification tracking 2025-01-16 01:03:26 +01:00
90ef140169 Add Copy Script UID option to Script Editor
Co-authored-by: Alex Drozd <drozdster@gmail.com>
2025-01-11 22:19:48 +01:00
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
731a1ec206 Fix documentation tooltip over debug tooltip 2025-01-07 16:42:29 -05:00
0ab3dc273e Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
fd75707035 Merge pull request #78312 from Calinou/editor-add-markdown-highlighting
Add Markdown syntax highlighting to the script editor
2024-10-24 13:23:02 -05:00
74f64aaf98 Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
- Instead of checking for Key::UP, Key::DOWN, Key::PAGEUP, Key::PAGEDOWN etc., we rather check for the action like 'ui_up' or 'ui_down'.
- Also use AcceptDialog's 'register_text_enter' functionality to consistently close a dialog when ENTER is pressed while the LineEdit has focus (instead of redirecting ENTER keys to e.g. the underlying Tree).
- Unify the LineEdit filter behavior for the SceneTreeDialog and corresponding usages
- Improve OK Button disablement (something should be selected)
2024-08-31 21:10:27 +02:00
07e986f728 Allow adding custom export platforms using scripts / GDExtension. 2024-08-28 10:29:01 +03:00
e98aaf1caa Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
2024-08-28 00:12:12 +02:00
d35bee9cdd Merge pull request #94002 from kitbdev/fix-goto-error
Fix goto line issues in code editor
2024-08-27 22:27:25 +02:00
kit
23927c3d9b Fix script overwriting with external editor 2024-08-23 16:34:24 -04:00
kit
06b17a4d2f Fix goto line issues in code editor 2024-07-31 10:34:10 -04:00
f9258ff928 Fix typos 2024-07-17 18:53:03 +02:00
3eb8b0ac8c Add Markdown syntax highlighting to the script editor 2024-07-02 20:06:33 +02:00
838eb5a0fd Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
cafa64cd27 Add option to open online doc for selected native class in script editor 2024-05-14 21:44:46 +02:00
b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 -04:00
1bcbbe96c4 Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
fd3ed998ce Further speed up closing multiple scripts 2024-04-23 23:33:01 +02:00
fe25b18432 Merge pull request #89861 from dalexeev/editor-help-fix-csharp-crash
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-04-05 12:15:57 +02:00
eab05558c4 Fix regression with C# build editor crash due to EditorHelpHighlighter 2024-03-24 21:26:18 +03:00
5cf6f3c779 Hide Search Results by default. Show it on first search and push it at the end. Add a close button to hide it back. Also switch to Script Editor if a searched line is clicked. 2024-03-16 20:42:05 +01:00
16bdd83ea4 Merge pull request #86705 from KoBeWi/resourception
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
9281c441f6 Improved text editor status bar and zooming UX. 2024-02-21 17:33:16 -06:00
cde478bda6 Hot-reload only changed scripts 2024-01-02 17:56:52 -08:00
e534dbf53a Improve saving of built-in resources 2024-01-02 12:53:18 +01:00
fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
38c3e5aae9 Merge pull request #82956 from Chtau/GDScript-external-Editor-Engine-crash
Fixes internal Script Editor crash with External Editor active
2023-11-10 10:43:58 +01:00
2929993575 Prevent the internal Script Editor from reloading
when the external Editor is active in the settings.

This prevents a crash from different race conditions
from edititing files in the external editor while the internal editor
tries to reload open file tabs.

Some conditions that cause the crash where:
* Syntax highlighting (gdscript_highlighter.cpp, syntax_highlighter.cpp)
* Code analysis (code_edit.cpp)
* ... and more
2023-10-11 21:41:09 +02:00
c25a2d832b Fix external editor hot reload 2023-10-07 22:14:54 -04:00
d8ff69d53c Extract ScriptInstance to simplify includes
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.

This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
fec0396cac fix CollisionShape3D Shape Size handle will missing
when Script editor floating
2023-08-15 12:41:20 +08:00
b883f32188 Check for unsaved changes when closing a scene 2023-07-18 14:27:56 +02:00
000471ee56 Add unsaved status for script and shader editors 2023-07-18 14:18:36 +02:00
b4d6b47c17 Add multi window code and shader editors 2023-05-10 09:14:21 +02:00
0b3fba45c6 Move convert_indent into CodeEdit 2023-05-07 13:08:37 +01:00
aaf02ec04a Close built-in shaders when closing scene 2023-04-09 22:10:43 +02:00
de49bec30e Re-enable script editor File menu shortcuts when the menu is hidden 2023-03-03 12:14:51 -06:00
a197d6ef4e Support editing JSON in ScriptEditor 2023-01-28 16:06:13 +00:00
c0083e431b Cleanup unused engine code v2 2023-01-19 13:02:18 +01:00
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
c90d0bd84f Use forward-declarations in big editor classes 2022-11-29 09:59:43 +01:00