lexicalunit / wrap-guide

Don't cross the line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Configuration

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:

'.source.gfm':
  'wrap-guide':
    '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;
}

About

Don't cross the line

License:MIT License


Languages

Language:CoffeeScript 98.1%Language:CSS 1.9%