Skip to content

Split the contents within brackets/braces over multiple lines in atom

Notifications You must be signed in to change notification settings

bhml/atom-multiline-bracket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atom-multiline-bracket

Split the enclosed contents of {}, (), and {} over multiple lines in atom.

Use ctrl-alt-m to split a matching pair of {}, (), or {} in the current line of the cursor.

This tool supports one match on a single line only (for now). For multiple cursors, it will take the most recently added cursor as the target.

Demo


Configuration

Last Trailing Comma

You can enable or disable (default: enabled) the addition of a trailing comma at the last item:

const {
  foo,
  bar,
  baz,
  qux, <--
} = this.props

About

Split the contents within brackets/braces over multiple lines in atom

Resources

Stars

Watchers

Forks

Packages

No packages published