[TxMt] Correctly indenting multi-line lists

Abhimanyu Lad alad at cs.cmu.edu
Fri Nov 28 04:11:01 UTC 2008


Is there already a known solution for correctly indenting multi-line lists,
so that the elements properly align with each other, e.g. in Python:

myList = [firstElement,
          SecondElement]       # 'f' and 'S' align

myDict = {key1:value1,
          key2:value2}         # the two 'k' align


It seems the lack of fine control over indentation in Textmate is already
well known; I was just wondering if there is any commonly accepted
(interim?) solution.

Thanks!
Abhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20081127/f1d66314/attachment.html>


More information about the textmate mailing list