The Great Rewrapper (Extension Edition)The Great Rewrapper is a formatter extension for formatting Wattsi formatting specifications.
It operates as a range formatter and rewrites text to a fixed column width using the The formatter is opt-in, file-pattern scoped, and non-destructive outside the selected range. What the Extension Does
When the Formatter RunsThe formatter is registered as a Document Range Formatting Provider. It runs when you invoke any of the following (depending on default configuration) VSCodium/VS Code commands on selected text in a matching file:
If no text is selected, VSCodium/VS Code supplies the full document range automatically. Reformatting will be done on whole lines, i.e if any part of a line is selected the whole line will be considered for formatting. ConfigurationThe extension provides the following settings and default values:
Column lengthThe length to which the formatter rewraps. Default: EnableIf the extension should be enabled. Practical for debugging purposes and for resolving conflicts between formatters. Default: PatternThe glob pattern for which documents that the formatter will be available to. Examples:
Default: FormatterThe rewrapper implementation to use. Available options:
Default: |