Sublime Forum

Functions in julia with multi-line arguments do not collapse well

#1

Here is an example:

The first function definition does not show the expected down triangle on the right, therefore I cannot collapse it. If the arguments were all on the same line, it would work fine. Curiously, if I change the identation of the second argument, as shown in the second definition above, then I get the down triangle on the right, and this time it will collapse nicely. However the problem is that I don’t like to indent multiple arguments like this.

I am not sure if this is an issue with Sublime, or the Julia package.

0 Likes

#2

ST’s gutter fold markers are based purely onbindentation atm

0 Likes