0
Andrej Kvasnica 4 years ago • updated by Patrick McDonald 4 years ago 1

  1. Ctrl/Cmd + A Select All
  2. Ctrl/Cmd + Shift + L Split into Lines
  3. ' Surround every line with quotes
the 3rd. step does not work for me on st2 (2.0.1 build 2217), the selection gets replaced by ' or ".

According to http://stackoverflow.com/questions/10709869/how-to-paste-text-to-end-of-every-line-sublime-2/13193355?noredirect=1#comment23216904_13193355 it should surround selection with ' or ".

If there are no blank lines in the selection, this works, however if one of the lines/selections is blank, then sublime text replaces each line/selection with a single character (' or ")