Converts the selected JS lines to string (single-line/concatenated).
apm install js-to-string
Install> Search packages for
Ctrl + Alt + Shift + Son Windows or
Cmd + Alt + Shift + Son Mac.
JS to string.
JS to string>
Style: Choose between single-line or concatenated. Default:
Quotes: Use single or double quotes to wrap the string. Default:
Strip comments: Generate the string without the commented-out lines. Default:
Include whitespaces: If this is unchecked, any tabs or new line characters will be stripped. Default:
Add trailing character: Insert a custom character after the quotes. Default:
Trailing character: The character that will be inserted at the end of the string, after the quotes. Default:
Beautify: The selected code will be first beautified before it's stringified. Default:
Indent size: Number of spaces used to represent a tab. Default:
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.