Sublime Forum

How to change the bracket style when sublime auto generates

#1

Hi all,
I am a new user of sublime. I don’t know how to change the bracket style when it auto completes the code for me.

For example:
when I type “main” [Enter], sublime would generates:

int main(int argc, char const argv])
{
/
code */
return 0;
}

but my programming style do not put the bracket in a new line. I would like it generates

int main(int argc, char const argv]){
/
code */
return 0;
}

Do anyone know how to set this?
Thank you!

0 Likes