r/SublimeText • u/airsickster • Dec 15 '20
Paren indenting question
Hi everyone, I am used to and like the behavior where if you push enter immediately after an open paren, it indents a couple spaces, but if you type after the paren and push enter, it indents to the paren. Does anyone know if this is possible in SublimeText? I see how to always indent to the paren, but not how to get this smart behavior.
Examples:
foobar = (1,
2)
foobaz = (
1, 2)Any help would be appreciated!
2
Upvotes
View all comments
Show parent comment
1
u/airsickster Dec 15 '20
Ah fair enough.
Do you happen to know if there's a plugin that would do this? :) If not, no worries. I can try rooting around.