Tutorials from FluCoMa, reformatted and expanded.
Chained methods that start on new lines should be indented one level more than the line containing the object on which they are called.
In order to auto-format chained methods correctly, sclang-mode's
sclang-indent-line
function can be monkeypatched with flucoma-sclang-indent.el
Assuming you already have sclang-mode
installed, add the following to your
emacs configuration AFTER your call to (require 'sclang)
:
(add-to-list 'load-path "<path/to>/flucoma")
(require 'flucoma-sclang-indent)