-
Notifications
You must be signed in to change notification settings - Fork 19
Description
When working with entities and event steps, it is very common to grab JSON data out of certain fields (things like {"player": true} for an entity field) and copy/paste it to other fields. Or to make edits to json data in these fields by changing values, etc.
Each time this needs to be done, the field must be expanded by dragging the handle in the bottom-right with the mouse. Unexpanded, only the first line's { is visible, making the actual data unable to be read at a glance.
It would be very helpful as a QOL feature if the editor automatically expanded these fields if there is only 4-5 lines of json data.
However if a field has many lines of data (or the wrapped text results in many lines), I think it should stay minimized by default to avoid clutter. For example, something like this should probably not automatically expand:

But for things like each connection of an NPCWaypoint, it would help to have them expanded by default:
(connection 0 is manually expanded in the screenshot)

It would also improve QOL if the json field automatically expanded after pasting data into an empty field. For example, I will often copy something like
{
"global": true,
"name": "wp5"
}
from an existing entity into a new entity before modifying the name to something else. The field size must be manually expanded after pasting before I am able to modify the name data. This isn't an issue by any means, more of a minor annoyance.
