290 Commits

Author SHA1 Message Date
Alexandre Franke
aae25ea87f Fix typo in running_code_in_the_editor.rst 2026-08-28 20:55:07 +02:00
Vladimir Garnovsky
41b6d71d0e Update making_plugins.rst
Indentation, comment removal
2026-08-21 07:52:48 +02:00
Vladimir Garnovsky
e1d057ee5b Update making_plugins.rst
Returning the indentation.
2026-08-21 07:50:47 +02:00
Vladimir Garnovsky
b93c71358b Correction for example C# code in 'A custom dock'
Code has two errors:
 _dock.DefaultSlot = DockSlot.LeftUl;
 _dock.AvailableLayouts = DockLayout.Horizontal | DockLayout.Floating;

Lines corrected to the proper types:

_dock.DefaultSlot = EditorDock.DockSlot.LeftUl; _dock.AvailableLayouts = EditorDock.DockLayout.Horizontal | EditorDock.DockLayout.Floating;
2026-08-20 22:20:49 +02:00
Micky
20754d2843 Fix accidental usages of RST's default role 2026-08-17 13:15:44 +02:00
Matthew
9f2632a2de Merge pull request #12218 from godotengine/instance-verb-removal-juice
Replace most leftover "instance" verbs with "instantiate"
2026-08-05 19:45:40 -04:00
Micky
ecf7d701a0 Remove trailing whitespace 2026-08-04 19:34:06 +02:00
Micky
5957f4928b Replace leftover "instance" verb with "instantiate" 2026-08-04 10:37:06 +02:00
Matthew
e2b5555c15 Merge pull request #12145 from shadiradio/patch-1
Fix variable name from _dock_scene to dock_scene
2026-08-01 08:26:50 -04:00
Matthew
98cd4a4814 Merge pull request #12183 from godotengine/miscellaneous-oddities-part-1
Fix miscellaneous oddities around the manual
2026-07-29 06:50:24 -04:00
Micky
56cf54652c Fix miscellaneous oddities around the manual 2026-07-28 16:03:36 +02:00
Daniel Zimmer
51724dd770 handles() is called _handles() in EditorPlugin
Changed "handles()" to refer to the correct EditorPlugin function _handles()
2026-07-27 09:19:19 -07:00
Shadi Muklashy
1e7214551d Fix variable naming of dockScene in C# code block 2026-07-26 13:46:36 -07:00
Shadi Muklashy
4b9bae0481 Revert "Rename variable dock_scene to dockScene".
Mistakenly edited the GD Script portion instead of the C# portion.

This reverts commit f14b99a914.
2026-07-26 13:42:55 -07:00
Shadi Muklashy
f14b99a914 Rename variable dock_scene to dockScene
Updated the local variable name to match the Godot C# style guide.
2026-07-26 10:41:50 -07:00
Matt Massicotte
e86c012beb Merge pull request #12159 from mattmassicotte/patch-1
Address issues with creating a dock editor
2026-07-24 18:50:24 +02:00
Shadi Muklashy
2c3697f812 Fix variable name from _dock_scene to dock_scene
The example C# code to attach the dock scene wouldn't compile because the variable was declared as "_dock_scene" but later used as "dock_scene".
2026-07-13 23:56:05 -07:00
Hugo Locurcio
bb05746302 Fix some scripts not being marked as @tool in Inspector plugins
All scripts must be marked as `@tool` in this example, as they should
all run in the editor.
2026-07-02 16:04:19 +02:00
Hugo Locurcio
0ca94bc312 Document icon guidelines in Making main screen plugins 2026-07-02 02:48:48 +02:00
Max Hilbrunner
e9b583a482 Merge pull request #12098 from Cykyrios/plugin-i18n
Add guide for internationalizing plugins
2026-06-25 17:07:34 +02:00
Cyril Bissey
51e167c7a6 Add guide for internationalizing plugins 2026-06-25 11:11:30 +02:00
Hugo Locurcio
ad8fc23e1d Fix example code in Visual Shader plugins
- Fix unused method parameter GDScript warnings by prepending unused
  parameters with an underscore.
2026-06-24 02:46:48 +02:00
Fredia Huya-Kouadio
946f8c3c7e Add documentation for Vendor Runtime Modules 2026-06-09 16:00:59 -07:00
Doeke Wartena
bc7f01ea1e Update making_plugins.rst
preload returns a resource which is not possible for @icon.
The change shows the exact line that has to be used to make it work.
2026-05-02 23:03:51 +02:00
Hugo Locurcio
3d66d4640b Replace mentions of the default icon.png with icon.svg
Godot 4.0 and later creates `icon.svg` instead of `icon.png` in new
projects.
2026-04-19 23:42:56 +02:00
Dylan Nguyen
3141668b86 Merge pull request #11819 from guacboy/patch-1
doc: Clarify that @tool script changes do not auto-mark scene as unsaved
2026-03-22 00:01:25 +01:00
Max Hilbrunner
ee2bd1b113 Merge pull request #11826 from mgjv/tool-behaviour-array-dict
Add some info on how to react to changes to an `Array` or `Dictionary` in a `@tool` script
2026-03-21 23:54:00 +01:00
Martien Verbruggen
3683665d1c Update running_code_in_the_editor.rst 2026-03-06 14:23:27 +01:00
odwn
a3509d28b2 Correct number of extra methods in making_main_screen_plugins 2026-03-05 13:51:43 +11:00
Jack Pettigrew
8e444e42bc Added EditorScript C# code examples to Running code in the editor (#11748)
* Added C# code examples to EditorScript docs

* Additional note about C# tools and script editor
2026-02-20 12:27:26 -05:00
Max Hilbrunner
7e3e46245b Merge pull request #11712 from Calinou/running-code-editor-editorscript
Update EditorScript information in Running code in the editor
2026-02-03 02:52:42 +01:00
Hugo Locurcio
92311fcf4d Update EditorScript information in Running code in the editor
- Use `Node.find_children()` to remove the need for a custom
  recursive traversal method.
- Use `EditorInterface.get_edited_scene_root()` instead of
  deprecated `EditorScript.get_scene()`.
- Use `EditorInterface.mark_scene_as_unsaved()` when relevant.
- Mention 2 new ways to run an EditorScript, both of which
  are supported when using an external editor.
2026-02-03 01:40:30 +01:00
Hugo Locurcio
530c972c47 Fix leftover deprecated method call in C# code sample in Making plugins 2026-02-02 20:24:43 +01:00
Yarvin
9a426c10a9 Add information about debugging tool scripts. 2026-01-21 06:26:18 +01:00
Hugo Locurcio
a2922de199 Merge pull request #11617 from Calinou/remove-outdated-outdated-article-labels
Remove outdated "outdated article" labels, update Using the web editor for 4.5+
2026-01-17 13:31:38 +01:00
Leandro (Cerberus1746) Benedet Garcia
221b7130c4 Improve create node tutorial in the plugins section to use class_name instead (#11599)
* Improve node plugin creation tutorial

* Apply suggestions from code review

---------

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2026-01-17 07:26:02 +01:00
Hugo Locurcio
d691e62e1d Document naming convention and requirements in Visual Shader plugins 2026-01-15 03:35:32 +01:00
Logan Detrick
f8f118f12d Update documentation around EditorDock 2025-12-11 16:48:05 -08:00
Hugo Locurcio
0fb44267fe Emphasize script classes over custom types in Making plugins
Custom types were more relevant in the early Godot 3.x days,
but nowadays, script classes should be preferred whenever possible
(i.e. in any non-C# language).
2025-12-02 17:47:48 +01:00
Hana - Piralein
f90da42c9c remove "activate now" button 2025-11-05 08:00:06 +01:00
Max Hilbrunner
f6b40a054e Merge pull request #11352 from Calinou/remove-old-version-references
Remove old Godot version references to simplify documentation
2025-10-11 12:45:38 +02:00
notroid5
dfb46cecbe Replace deprecated Color8 (#11361)
* Replaced deprecated `Color8`

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-10-09 13:40:38 +02:00
Hugo Locurcio
b3cbe5f777 Remove old Godot version references to simplify documentation
This follows the documentation writing guidelines, specifically
the "When to refer to a specific Godot version" section.

This also removes warning blocks for a known issue that was resolved in Godot 4.5.
2025-10-07 19:01:12 +02:00
Rageking8
2df068f087 Add some button roles (#11257)
* Add some `button` roles
2025-09-07 12:55:33 -04:00
Kai Liao
a6defa7ae8 Update running_code_in_the_editor.rst to fix misplaced method defs in C# example
OnResourceSet() and OnResourceChanged() were invalidly defined outside of the class examples
2025-08-05 17:18:15 -07:00
AtelierFerrofell
edebaa4fb7 Update running_code_in_the_editor.rst to fix error in example code
Example was potentially trying to connect a signal from a null reference
2025-08-05 02:34:48 -07:00
Matthew
90fc3e7915 Merge pull request #10820 from ryevdokimov/autoload-nodes-can-be-accessed-with-tool-scripts
Autoload nodes can be accessed in the editor if they're using tool scripts
2025-07-27 14:41:39 -04:00
Matthew
3f65fd4614 Merge pull request #10888 from Calinou/running-code-in-the-editor-static-context
Clarify rules around which scripts require `@tool` in Running code in the editor
2025-07-18 07:54:13 -04:00
A Thousand Ships
92cd36b50e Various grammar and spelling fixes 2025-06-23 16:37:26 +02:00
Matthew
3dbb51b86c Merge pull request #10889 from Calinou/running-code-in-the-editor-no-debugger
Mention the lack of debugger support in Running code in the editor
2025-04-23 10:01:08 -04:00