Hi,

 is there a way to control indentation by supplying a regex for the previous line and the current?

What I want to do is indent javascript chained methods calls (every line starting with a dot, except if the last line started with a dot itself):

 

Thanks
Fabian