Skip to content

walles/autoflow

 
 

Repository files navigation

Autoflow2 package

OS X Build Status Windows Build Status Dependency Status

Format the current selection to have lines no longer than 80 characters using cmd-alt-q on macOS and ctrl-shift-q on Windows and Linux. If nothing is selected, the current paragraph will be reflowed.

This package uses the config value of editor.preferredLineLength when set to determine desired line length.

Unlike the bundled autoflow package, this package offers multiple reflow algorithms, check the settings.

Example

Reflow examples

The example is from the https://github.com/walles/flickr-uploader#building README.

Rebasing on top of upstream

  • Rebase rebase-me-on-upstream-master atop the updated autoflow master
  • Rebase master atop rebase-me-on-upstream-master

TODO

DONE

  • Set up appveyor CI
  • Set up Travis CI
  • Change the name to autoflow2
  • Make avoid-short-lines the default algorithm
  • README: Add example comparing reflow results with upstream
  • Make a release