Sublime Forum

Personalize braces generation

#1

Hello,

I suppose the personalisation I am trying to have already exist but I really do not know here to find it.

I code like this :

public static void main (String []args)
{

}

And I got this when I generate a class or anything with braces :

public static void main (String[] args) {

} 

There are two small differences who make me crazy :
the non-return after arguments
And the[] to indicates an array are not close to the argument’s name.

It is not a BIG deal, but I really want automatise it if it’s possible.

Thanks if you got an answer !
Bye bye !

0 Likes

#2

how are you generating classes etc.? snippets? built in snippets or from a third party package?

0 Likes

#3

With autocompletion

0 Likes

#4

so you should be able to edit whatever source the autocompletion is coming from. Install https://packagecontrol.io/packages/PackageResourceViewer and take a look - I can’t be any more specific because you haven’t said which package is providing those autocompletions (likely snippets)

0 Likes