Format the current paragraph to have lines no longer than your preferred line length, using alt+q
(may be overriden in user-specific keyboard-bindings.)
This extension defaults to reflowing lines to be no more than 80 characters long. The preferred line length may be overriden using the config value of reflow.preferredLineLength
.
By default, preserves indent for paragraph, when reflowing. This behavior may be switched off, by setting the configuration option reflow.preserveIndent
to false
.
This extension contributes the following settings:
reflow.preferredLineLength
: Set the preferred line length for reflowing paragraph (default:80
).reflow.preserveIndent
: Preserve paragraph indent when reflowing paragraph (defaulttrue
).reflow.setSelectionToEndOfRewrapped
: Reset cursor-position to the end of reflowed paragraph (defaulttrue
).
Invoke reflow paragraph using alt+q
(default).
None.
Reset cursor-position to end of reflowed paragraph, by default - mimicking behavior from emacs and vim (thanks @hstuart). If you prefer the old behavior set the user setting reflow.setSelectionToEndOfRewrapped
to false
.
Preserve indent for paragraph, when reflowing by default. Configurable as per above using reflow.preserveIndent
.
Initial release.