indent of parenthesis of if statement

已回答

Is it possible to have following format (JAVA):

if (condition1

   && condition2

   ){

 

currently it is like below:

if (condition1

   && condition2

){

 

thanks.

 

0

This forum doesn't show formatting, please attach a screenshot.

0

Hi Serge, thanks for the suggestion. I've attached the screenshot. This is the current formatting:

 

I'd like to config to format like below so the "(" and ")" are aligned vertically:

Is this possible?

Thanks.

0

Hello Henry,

Currently it's not possible.

Feel  free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.

0

请先登录再写评论。