Add (or remove) a semicolon (or a comma) at the end of the line.
ctrl-;
and ctrl-,
)Trailing...
)trailing-semicolon:semicolon-newline
and trailing-semicolon:comma-newline
)Press ctrl-;
or ctrl+,
to add/remove a semicolon at the end of the selected lines. The context menu can also be used in the editor, see the "Trailing..."
sub-menu.
Two commands aren't binded to any keys by default : trailing-semicolon:semicolon-newline
and trailing-semicolon:comma-newline
. They have the same behavior as the default commands but also start a new line (exactly as ctrl-enter
would do).
keymap.cson
file using trailing-semicolon:semicolon
and trailing-semicolon:comma
commands (or application:show-settings
).Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.