I want to enable word wrap. [1] [2] However I only want to wrap comments. [3] (VS not VS Code) I also don't want to edit the file. [4]
I've looked through the docs, but can't find a way to change how the code is seen without changing how the code is stored.
TextEditor.edit
allows me to change how the code is stored.DecorationRenderOptions
doesn't seem to provide a max-width option.
Is there a way implement editor.wordWrap
in an extension?