3 ms·
For lining up arguments like that, (esp with long objc calls), I use spaces after indenting to the level the code is indented. For instance, [\t]int val = 0;
by yan 17y ago
For lining up arguments like that, (esp with long objc calls), I use spaces after indenting to the level the code is indented. For instance,
[\t]int val = 0;
[\t]callSomeFunction(someOtherVal,
[\t].................val);
Anywho, it's a religious argument with no right answers. I was just justifying my preference.
- moosecake 17y agoI prefer the same but it's a pain to line it up manually like this. I usually settle for vim's = operator, but that has the frustrating behavior of using as many tabs as possible (according to your tabstop) until using a few spaces. I can't find any way to change this; anyone know of a vim plugin to circumvent it?