ecode icon indicating copy to clipboard operation
ecode copied to clipboard

[ENHANCEMENT] Char/Line-based Resize

Open NullPlane opened this issue 1 year ago • 2 comments

A resize option available in the command prompt > or as a bindable keeb shortcut, that lets us set up a resize option to x chars. Once set, we have an option to resize to set margins and it will try to resize the window such, that exactly n chars fit into the window with an addition for the minimap if activated.

I don't know how well this may be achieved but it clearly sounds nice.

Finally similar feature could be useful for lines. At least I have never seen that before in any other editor.

NullPlane avatar Apr 27 '24 19:04 NullPlane

Do you mean to resize the window to the editor contents (plus the rest of the elements)? I also can't think the use case of this one. What would it be?

SpartanJ avatar Apr 27 '24 23:04 SpartanJ

If there is a set line length one may use by style, the exact resizing allows for automatically fitting the window for screen space if anything else is opened in parallel. It is not an important feature but the concept sounded interesting.

Maybe a size input is overkill but I think if there is a single command list entry to resize to the linebreak column (if it is even set), this might be some kind of a nice qol addition.

Also a minor feature but I think some day it is a unique touch of a feature that some people might enjoy.

NullPlane avatar Apr 30 '24 23:04 NullPlane