• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

autoflow2

Format the current selection to have lines no longer than 80 characters. This package handles very long words (like URLs) better than Autoflow.
  • #reflow
  • #justify
  • #fill
  • #format
  • #autoflow
walles
1.1.0 270
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by