// this is
// my comment that
// does not wrap properly
Into this:
// this is my comment that does not wrap
// properly
Supports:
✅ Standard (JavaScript/TypeScript/Java etc.) style comments ( // )
✅ Block comments ( /* */ )
✅ Dart-doc comments ( /// )
❌ Anything else (Python, bash etc.) yet
Settings
The default wrap length is 80 - it can be customized with user setting commentWrap.printWidth:
{
"commentWrap.printWidth": 120
}
Disclaimer
This extension is in the very early stages of development (mostly a proof-of-concept at this stage, put together in about 15 minutes) so may not be fully functional.