Releases: stkb/Rewrap
v1.5.0
v1.4.2
v1.4.1
v1.4.0
Important: if you still use and prefer the old keybinding for Rewrap (ctrl+k ctrl+w
), please add it to your settings manually. It will be removed in the next version.
Rewrap is now also available for Visual Studio!
The main change in this release is that all1 comments now are parsed as Markdown (CommonMark spec), enabling wrapping of bulleted/numbered lists and all other Markdown features.2
Additionally, a new setting: wholeCommment
, has been added to give more control over wrapping comments. See here.
Added languages:
- Elixir
- Dart
Other fixes and changes:
- Supports unicode (#38)
- In js/javadoc, inline tags (eg:
{@link}
) aren't broken up (#35) - Support doc-comments in PHP (#34)
1 Except for .Net xml-doc comments.
2 (This introduces a small breaking change: where code samples (which aren't rewrapped) within a comment previously only required a 2-space indent, now they require 4 spaces, in line with the Markdown spec.)
VSIX file attached is only for Visual Studio.
v1.3.0
v1.2.0
- Added support for the new language-specific settings. Now you can customize
editor.rulers
and Rewrap's settings per language. (#25) - Improvements for LaTeX:
- Added basic support for TOML files (#26).
v1.1.0
v1.0.0
Bumping up to version 1.0.0 since it was about time.
Two new features; see the README for details.
- Added a feature from Vim
gq
and Emacsfill-paragraph
: when lines ending in a period are wrapped, two spaces will be added after the period in the wrapped text. To turn this feature on, add"rewrap.doubleSentenceSpacing": true
to your settings.json. (#17) - If you use rulers, Rewrap can now take the wrapping column from the first value in the
editor.rulers
setting.rewrap.wrappingColumn
is then no longer needed. (#19)
Bug fixes:
- Cursor/selection position after wrapping has been fixed. Now the text cursor should always stay next to the same word it was at before wrapping, allowing you to keep typing from where you left off. (#18)
v0.6.4
This doesn't affect comments, only other plain text within a file (eg. in YAML
files). Now blocks of plain text with differing indents are treated as separate
paragraphs. Previously a blank line was needed to separate paragraphs.
Eg: this text was treated as one paragraph but now as two.
Some text
Some more text
Also doesn't affect markdown files, or .txt files, which are currently treated
the same as markdown.