3 Replies Last post: Mar 1, 2013 10:07 AM by Denis Zhdanov  
Glide K Newbie 7 posts since
Jan 26, 2013
Currently Being Moderated

Feb 28, 2013 12:34 AM

Formatting spaces within braces { } of an Annotaiton

For annotation: @Test({Foo.Bar})

 

Is there a setting that creates spaces within the braces so it will look like this:

 

@Test({ Foo.Bar })

Denis Zhdanov JetBrains 1,409 posts since
Oct 20, 2007
Currently Being Moderated
Feb 28, 2013 11:40 AM in response to: Glide K
Re: Formatting spaces within braces { } of an Annotaiton

Hello,

 

Please check the following box to achieve the desired behavior - 'Project Settings | Code Style | Java | Spaces | Within | Array initializer braces'

 

Denis

Denis Zhdanov JetBrains 1,409 posts since
Oct 20, 2007
Currently Being Moderated
Mar 1, 2013 10:07 AM in response to: Glide K
Re: Formatting spaces within braces { } of an Annotaiton

You are welcome

 

Denis

More Like This

  • Retrieving data ...