Reload Whole Editor From @tool / Plugin Script

Godot Version

4.6.1

Question

I am considering making a plugin, and have been looking into if the idea I have is possible (Without making a updated version of Godot itself.)

This would involve restarting the editor for certain changes to apply, but after looking I can’t seem to find a way for a Plugin or @tool script to restart the editor, and after trying to search for other people asking about this all I saw was people asking about reloading individual scenes / scripts, not the editor itself.

Is this possible, and I have missed something, or is it not feasible?

Thanks.

See this topic, I think the solution posted there applies to your question too.

2 Likes

Thanks!

I was searching for ‘Reload’ as that is the word used for the ‘Reload Current Project’ button in the editor, I neglected to think of that synonym.

1 Like