+4

Tweak identation for statements spanning trough several lines

Simonas Kazlauskas 12 ár síðan 0
Currently Sublime Text idents separate lines perfectly, however when you break line to, for example, fit 80 characters limit it fails miserably.

For example consider such example:
report = "Hello World!"
Assume, that it doesn't fit into a line and I want to break it in the middle.
report = "Hello"\
        " World!"
None of identation sizes would be able to align beginnings of strings and some spaces would have to be added manually. Instead of this dumb behaviour ST could just auto align strings like that (regardless of selected identation size):
report = "Hello"\
         " World!"