Replies: 3 comments 9 replies
-
Hiding all comments might be useful, but print statements aren't decoration, they're functional, and might contain things that caused errors, so hiding them is very different IMO |
Beta Was this translation helpful? Give feedback.
-
I disagree with this. I think the majority of users spam print messages to track code progress as they type, nearly every tutorial I have watched on YT has the teacher doing this at some point to verify output. It is in my opinion very common. |
Beta Was this translation helpful? Give feedback.
-
I don't recall seeing any code editor out there that lets you hide all comments in a non-destructive manner, let alone print statements. In general, we try to align the Godot script editor's functionality on popular script editors, so that we avoid adding features that may not end up seeing much use. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Fluff is distracting when you are trying to fix a deep bug, you want to see tight code only.
Imagine a shortcut to instantly hide all comment lines and all print lines (print, printt, prints etc).
It would be great to hide all print statement lines and hide all comment lines using 2 UI buttons in the top right of the gdscript script writing editor window.
Or would this be better in the script window top left menu options? Edit - hide print statemnts, Edit - hide comments?
Shortcuts for these two things would also be nice.
Any ideas for what would be a good available default shortcut for these? (CTRL+c is taken)
Beta Was this translation helpful? Give feedback.
All reactions