Open Torguen opened 2 years ago
The distraction-free status is not part of the saved editor layout, and I don't think it should be. Most IDEs out there also don't persist their distraction-free status across restarts, as that can be problematic for users who accidentally enable it and don't know how to exit it.
So I propose an option of the editor to activate it automatically in the script editor, with this you will not have to be reactivating it every time you start godot
So I propose an option of the editor to activate it automatically in the script editor, with this you will not have to be reactivating it every time you start godot
I'm afraid this is too niche to warrant having its own editor setting. To me, it sounds like creating a small editor plugin would better fit your use case. (If you don't want to install a plugin in every project, implementing global plugins would be the way to go.)
Hi,
I don't feel it is a niche feature : I think it should be added as an option because it's not logical to display nodes panel in the script editor each time the software is launched and that then, you go to script edition. Every single time I launch the software, when I open the script section, I have to toggle on "distraction free mode". Which is annoying, not user friendly.
By the way, I think you are mistaking about what is a free distraction mode. Here, in script editor of godot, what's called "no distraction mode" is only the basic script layout that most engines have and that godot should have, so I think the basic layout for scripting should be thinked again, and that a true "no distraction mode" should be implemented such as the one that you could find in sublime text for example (no panels at all, only the code).
This is a distraction free mode to me :
This should be the basic layout of the script editor when you switch from 2D/3D to script (instead of going in what's currently called "distraction free mode" each time you relaunch the software) :
I think that on the contrary, the current basic mode is a niche as you call it, because who is really using nodes and panels in the script section ? I'm not sure anyone find that usefull here, but maybe I'm mistaken.
Godot version
3.4.2 stable
System information
w10 64
Issue description
Option activated "separate distraction mode" In the script editor the "no distraction" mode is activated:
The editor layout is saved. Restart the editor. Load the layout if necessary (although the problem will still occur even if you load it) The no distraction mode does not remember its state and is inactive again in the script editor.
it must be activated again.
Steps to reproduce
-Active the "separate distraction mode" (although this option has nothing to do with it and does its job well) (although this option has nothing to do with it and does its job well) -Activate distraction-free mode in the script editor. -Save the layout. -Restart Godot. -Load the previously saved editor layout -The distraction-free mode of the script editor is now disabled again.
Minimal reproduction project
...