slysherz / vscode-comment-box

Extension that transforms lines of text into a pretty comment box.
MIT License
19 stars 2 forks source link

Word Wrap #23

Open ozum opened 5 months ago

ozum commented 5 months ago

Hi,

Is it possible to add word wrap feature?

Many thanks,

slysherz commented 5 months ago

Hello!

If you try to comment hello there with these settings:

"commentBox.styles": {
        "defaultStyle": {
            "boxWidth": 13
        }
    }

you get this

/************
 * HELLO THERE *
 ************/

but maybe you should be able to get this instead:

/************
 *  HELLO   *
 *  THERE   *
 ************/

That's what you mean right? I'll see what I can do : )

slysherz commented 4 weeks ago

Just pushed this release, please let me know if it works for you @ozum : )

"commentBox.styles": {
    "defaultStyle": {
        "boxWidth": 13,
        "wordWrap": "on"
    }
}