join-lines-smarter
A smarter, language-agnostic Join Lines command. https://atom.io/packages/join-lines-smarter
- Merge string literals - single or double quote,
+
,.
, or nothing as concat operator - Merges line and docblock comments (supports
//
,#
,*
, and;
) - Removes trailing commas and omits spaces when merging onto a line with an opening or closing brace (
[]
,{}
,()
, or<>
)
TIP: use with split-string-on-enter and dockblockr to get the reverse; adding concatenation operators and leading comments when entering a new line.