Sublime plugin for creating multiline string from selected text in JavaScript.
This plugin will take selected text and convert it to a javascript string of lines. For example, the following text
<div class='form-group'>
<label for="input" class="col-sm-2 control-label">:</label>
<div class="col-sm-2">
</div>
</div>
is converted to
'<div class=\'form-group\'>'+
'<label for=\"input\" class=\"col-sm-2 control-label\">:</label>'+
'<div class=\"col-sm-2\">'+
'</div>'+
'</div>',
The default keybinding is ctrl+alt+m/ctrl+alt+l
Enjoy!
This package is licensed under the Apache License, version 2. See LICENSE file for details.