Eclipse Java code Format

Posted by Jayesh on Stack Overflow See other posts from Stack Overflow or by Jayesh
Published on 2013-10-29T15:47:35Z Indexed on 2013/10/29 15:53 UTC
Read the original article Hit count: 252

Filed under:
|

I am not that much aware of Eclipse Shortcuts.

I copied code from some link and I pasted in Eclipse Indigo but it is coming like

"public String doLogin() throws ApplicationException{ long  executionStartTime = System.cu... }"

I want to format it in java style like

public String doLogin() throws ApplicationException{ 
    long  executionStartTime = System.cu... 
}

I google it and found few shortcuts like,

"Shift + Tab" , "Ctrl + I", "Ctrl + Shift + F". but is not giving me the behavior I want.

is there I need to add custom formatter or I am expecting more.

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse