Text selection in Godot Editor by block/column

Godot Version

Godot v4.3.stable - Ubuntu 24.10 24.10 - X11 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 620 (KBL GT2) - Intel(R) Core™ i3-7020U CPU @ 2.30GHz (4 Threads)

Question

To comment my code but keep it clean, I leave all the comments from column 81, after the vertical mark, as you can see in the picture above, similar to Assembly programming.

I only need to copy the code to pass to ChatGPT, which is easy in the Kate text editor, but in the Godot Script Editor the vertical text selection doesn’t work properly, for various reasons. The figure above shows the difference between Godot and Kate.

You can set Kate as an external text editor in the editor’s settings if you like.

1 Like

I don’t mean this in a bad way, but may I ask what all the comments are for? You code looks very clean and self explanatory. I get the need for it in assembly, but why in Godot? Surely the code is pretty much its own documentation.

Unless it is intended for a tutorial or a teaching aid, that might make sense I suppose. I think I may have answered my own question as I see in image 1 the “Ep01 Introducao …” at the bottom.