Sublime Forum

Adding semi-colon after parenthesis automatically

#1

How do I add a semi-colon after typing the “(” ( typing only “(” will be autocompleted as “()” by default ) after the parenthesis?

So when I type “(”, it will be “()”, my target is to be “();”

0 Likes

#2

You could copy the default keybinding for ( and change it to insert a semi colon after the parentheses.

0 Likes