advanced-formula-environment icon indicating copy to clipboard operation
advanced-formula-environment copied to clipboard

Word wrap please

Open ghost opened this issue 2 years ago • 1 comments

Would it be possible to please allow word wrap to be enabled (for example as a toggle option in the command palette)? This this would help readability in some instances, particularly as there edit is constrained to half the screen.

ghost avatar Oct 19 '23 19:10 ghost

You can use the formula-formatter to break a formula to fit within the viewport. (Ctrl-shift F, or right click format). However, this does have limitations that word-wrap does not.

I'll add this as an enhancement. We'd likely expose this as a more general capability to adjust some of the Monaco settings.

jack-williams avatar Oct 19 '23 19:10 jack-williams