Skip to content

Releases: stkb/Rewrap

v0.6.2

22 Sep 19:45
Compare
Choose a tag to compare

Fixed a bug where the last line of comment sections of some types of files wouldn't be included in the wrapping (#12).

Types affected: dockerfile, ini, makefile, perl, r, rust, shellscript, vb, yaml

v0.6.1

22 Sep 17:44
Compare
Choose a tag to compare

No longer hard-wraps very long words, eg URLs (#10)

v0.6.0

31 Aug 08:54
Compare
Choose a tag to compare

Changed the default keybinding to Alt+Q (#5)

  • Old keybinding (Ctrl+K Ctrl+W) still works for those used to that one.
  • For those with a custom binding set, nothing changes.

Added AutoHotKey (.ahk) file support

Bug fixes:

  • Fixed wrapping on unsaved files (#8)
  • Fixed alignment of end-comment marker (#9)

v0.5.3

28 Jul 18:24
Compare
Choose a tag to compare

Fixed problems with extensionless filenames.

v0.5.2

10 May 19:15
Compare
Choose a tag to compare

VSCode v1.1.0 broke Rewrap. This release fixes it.

v0.5.1

29 Apr 19:16
Compare
Choose a tag to compare

Fixed a filename issue, causing the extension not to work on Mac & Linux.

v0.5.0

27 Apr 17:11
Compare
Choose a tag to compare

This release adds a markdown feature to all document types: You can end a line with 2 spaces to force a mid-paragraph line break after it.

// This line ends with 2 spaces˽˽
// Because I want this to be on a new line

Speaking of markdown, the main new feature for this release is full markdown support. You can safely ctrl+a and then wrap a whole document at once to reformat all paragraphs appropriately without messing anything up*
markdown-example
*Please report any bugs :)

Lastly, the selection moving/expanding after wrapping has been fixed (#4)

v0.4.2

15 Mar 17:38
Compare
Choose a tag to compare
  • If file is an unknown type, still provide plain text wrapping.
  • Adds some better paragraph detection for markdown.
    • Mid-pararaph line breaks (2 trailing spaces)
    • List items

v0.4.0

09 Mar 08:43
Compare
Choose a tag to compare

Now wraps to the correct visual column when using tabbed indents.

Fixes #2 (thanks @calmh)

v0.3.0

04 Mar 14:59
Compare
Choose a tag to compare

Skipping a version number because this version adds two new features.

  • Doc comments: you can now run the command on a whole doc comment and now worry about param tags, code examples etc getting messed up. Rewrap now preserves these.
  • Plain text: If you select something other than a comment it will be re-wrapped as plain text instead. Useful for text, markdown or html files etc, but works on any type of file.

See the Examples page for more info.