Don't cross the line
CoffeeScript JavaScript CSS
50Wliu Merge pull request #77 from atom/wl-update-on-font-size-change
Wait for update promise after changing font size before updating guide
Latest commit 5ecb8ca Nov 28, 2017

Wrap Guide package

macOS Build Status Windows Build Status Dependency Status

The wrap-guide package places a vertical line in each editor at a certain column to guide your formatting, so lines do not exceed a certain width.

By default, the wrap-guide is placed at the value of editor.preferredLineLength config setting. The 80th column is used as the fallback if the config value is unset.


You can customize where the column is placed for different file types by opening the Settings View and configuring the "Preferred Line Length" value. If you do not want the guide to show for a particular language, that can be set using scoped configuration. For example, to turn off the guide for GitHub-Flavored Markdown, you can add the following to your config.cson:

    'enabled': false

It is possible to configure the color and/or width of the line by adding the following CSS/LESS to your styles.less:

atom-text-editor .wrap-guide {
  width: 10px;
  background-color: red;