1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

208 Commits

Author SHA1 Message Date
Rémi Verschelde
7b9e7b9162 Merge pull request #98929 from dsnopek/editor-syntax-highlighter-create
Expose the `EditorScriptHighlighter::_create()` method to GDExtension
2025-06-10 16:22:22 +02:00
Hugo Locurcio
ecc1f08386 Add syntax highlighting for ConfigFile/TSCN/TRES/project.godot
A single highligher is used for all these formats, as they're fairly
close to each other.
2025-05-27 01:50:48 +02:00
Joel Kuntz
2cf64cc971 Make FindInFiles globally accessible
- Make ScriptEditor expose open_find_in_files_dialog to allow opening from anywhere
- Add FindInFiles to EditorNode as a keyboard shortcut, command, and menu option
- Change all find_in_files commands to be editor/find_in_files
2025-05-23 19:19:16 -03:00
Thaddeus Crews
67b3db8053 Merge pull request #104010 from aaronfranke/main-screen-auto-switch
Improve editor 2D/3D main screen auto-switching logic
2025-05-14 09:44:09 -05:00
Jayden Sipe
a874863c46 Improve zoom performance in Script and Shader editors 2025-05-08 19:33:21 -04:00
Rémi Verschelde
694d034d5b Rename editor "File" MenuOption enums for clarity 2025-04-30 16:32:11 +02:00
Rémi Verschelde
c019b76523 Remove WinAPI #undef hacks needed for mingw-std-threads
Instead, we rename the conflicting symbols.
2025-04-29 14:24:03 +02:00
Thaddeus Crews
74fc4dae15 Merge pull request #95585 from HolonProduction/remove-cache
ScriptEditor: Remove obsolete completion cache
2025-04-27 19:21:30 -05:00
HolonProduction
56bad11517 ScriptEditor: Remove obsolete completion cache 2025-04-26 22:59:10 +02:00
kobewi
92103366a5 Add "Close Tabs Below" option to script editor context menu
Co-authored-by: PrecisionRender <austin08dean@gmail.com>
2025-04-26 20:00:17 +02:00
Aaron Franke
d9e1f5d678 Improve 2D/3D main screen auto-switching logic
Co-authored-by: Kit Bishop <kitbdev@gmail.com>
2025-04-09 09:34:44 -07:00
Hugo Locurcio
e8eeccebcb Unify Scripts Panel naming for the script and shader editors
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
Thaddeus Crews
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
kobewi
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
kobewi
dade8bd66f Update script modified times when saved in EditorNode 2025-03-06 14:47:33 +01:00
Danil Alexeev
ead16435bf Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00
kobewi
cc2ea339d8 Mark main screen plugin names for translation 2025-01-27 22:31:47 +01:00
kobewi
b761ff662e Rework script external modification tracking 2025-01-16 01:03:26 +01:00
kobewi
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
Aarni Koskela
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
Hilderin
731a1ec206 Fix documentation tooltip over debug tooltip 2025-01-07 16:42:29 -05:00
Aaron Franke
0ab3dc273e Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
David Snopek
1474ecc121 Expose the EditorScriptHighlighter::_create() method to GDExtension 2024-11-07 12:22:55 -06:00
Thaddeus Crews
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
Marius Hanl
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
bruvzg
07e986f728 Allow adding custom export platforms using scripts / GDExtension. 2024-08-28 10:29:01 +03:00
Rémi Verschelde
e98aaf1caa Merge pull request #94477 from RedMser/typos-batch-1
Fix various typos
2024-08-28 00:12:12 +02:00
Rémi Verschelde
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
RedMser
f9258ff928 Fix typos 2024-07-17 18:53:03 +02:00
Hugo Locurcio
3eb8b0ac8c Add Markdown syntax highlighting to the script editor 2024-07-02 20:06:33 +02:00
Rémi Verschelde
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
Gaktan
cafa64cd27 Add option to open online doc for selected native class in script editor 2024-05-14 21:44:46 +02:00
Aiden Storey
b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 -04:00
Aaron Franke
1bcbbe96c4 Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
kobewi
3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
kobewi
fd3ed998ce Further speed up closing multiple scripts 2024-04-23 23:33:01 +02:00
Rémi Verschelde
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
Danil Alexeev
eab05558c4 Fix regression with C# build editor crash due to EditorHelpHighlighter 2024-03-24 21:26:18 +03:00
AeioMuch
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
Rémi Verschelde
16bdd83ea4 Merge pull request #86705 from KoBeWi/resourception
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
Muller-Castro
1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
Zi Ye
9281c441f6 Improved text editor status bar and zooming UX. 2024-02-21 17:33:16 -06:00
rune-scape
cde478bda6 Hot-reload only changed scripts 2024-01-02 17:56:52 -08:00
kobewi
e534dbf53a Improve saving of built-in resources 2024-01-02 12:53:18 +01:00
Pedro J. Estébanez
fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
Rémi Verschelde
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
Christoph Taucher
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