4 ms·
Yes, Emacs used to group spaces into tabs. I think most editors these days do the right thing. This problem goes away if you indent parameters instead of align
by pseudalopex 9y ago
Yes, Emacs used to group spaces into tabs. I think most editors these days do the right thing.
This problem goes away if you indent parameters instead of aligning them:
print(
'some long thing',
further, arguments)
In this case it takes an extra line, but it's often shorter.[1]
[1] https://github.com/pennersr/django-allauth/blob/a44134688f5be0a26f5e93b607f8c4e3f5b0782b/allauth/account/views.py#L685-L688 https://github.com/pennersr/django-allauth/blob/a44134688f5b...
- sqeaky 9y agoGross, You purt 3 parameters are on two lines. Either indent none of them and keep it on one line or indent all of them. What are you doing, trying to hide "arguments"?
- pseudalopex 9y agoThat's how the original example was formatted. I'm illustrating one small change.