godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.12k stars 69 forks source link

Improve readability of GDScript errors #9551

Open timcode77 opened 4 months ago

timcode77 commented 4 months ago

Describe the project you are working on

Any Godot project using GDScript in which an error occurs

Describe the problem or limitation you are having in your project

GDScript errors do not line wrap in the editor. This means you cannot read the whole error without rolling over them.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Making the errors line wrap will fix this.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

image

Problematic behavior is pictured above. The top line in red cannot be read in its entirety. The error can only be read if rolled over with the mouse so the tooltip with the same text appears.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No work around that I know of.

Is there a reason why this should be core and not an add-on in the asset library?

Error readability is basic functionality.

AThousandShips commented 4 months ago

~This should be reported as a bug, and I think it already has, please see if you can find it here~

Edit: my bad was seeing the tooltip which has clipping problems, looked like it was clipped