Script Editor: Improve readability of GDScript functions, for-loops, ifs, etc. #9975
Closed
SirManfred
started this conversation in
Editor
Replies: 1 comment
-
Thanks for the proposal! Consolidating in #8592. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since GDScript doesn't have the
{ }
wrappers to show where a function, for-loop or if, etc. begins and ends, something like this would be a nice option to have available. If not by default, then at least as an option in the Editor settings.I was also made aware that this might conflict with the
Draw Spaces
-option in the Editor Settings so I made a quick and dirty version for that as well in order to illustrate that it's possible to get around it, although it is not as neat as the previous version:Alternatively, something like this could be an idea:
A bit cleaner, doesn't clutter. Shows you the indented sections and the number of spaces or tabs used for each of them.
Anyways, I'd love to hear your thoughts about these!
Cheers!
/Frederik
Beta Was this translation helpful? Give feedback.
All reactions