[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ruby-mode] dot-alignment support for multi-line method chaining
From: |
Bozhidar Batsov |
Subject: |
[ruby-mode] dot-alignment support for multi-line method chaining |
Date: |
Tue, 21 Jan 2014 14:25:54 +0200 |
Currently when doing method chaining on multiple lines we get the following indentation:
something.ala
.one
.two
.three
An alternative style that seems to be popular is:
something.ala
.one
.two
.three
Here are some references (not just for Ruby):
I guess it will be good if ruby-mode supported the alternative style via some customisable option.
- [ruby-mode] dot-alignment support for multi-line method chaining,
Bozhidar Batsov <=