Sublime Forum

Auto-indentation of closing bracket

#1

Hello.
I’m using SublimeText v3 and “Cadence Skill” language and would like to have some specific auto indentation rules. Is it available some API how it can be specified?

At this moment auto indentation is looks like this:
image

but I’d prefer that closing brackets should be under the beging of the function name. Here is the same example:

image

Is it possible to manage this by options or fix this via some addition code?


Regards

1 Like

#2

See Everything you (n)ever wanted to know about indentation in ST3

1 Like

#3

to my sorry, but I did not find nothing about my question. Or I missed something because of some complex explanation from author.

1 Like

#4

It has an explanation of the indentation settings. There’s also https://docs.sublimetext.io/reference/metadata.html#indentation-options

1 Like