Intellij IDEA: How can I format the code and how can I see the changes made?

Posted by aaron on Stack Overflow See other posts from Stack Overflow or by aaron
Published on 2010-04-19T07:15:11Z Indexed on 2010/04/19 7:23 UTC
Read the original article Hit count: 277

Filed under:
  1. Cand I make the format code option to do something like this:

Before

int a = 1;





int b = 2;




return a+b;

After

int a = 1;
int b = 2;
return a+b;

Second Question:

I have a web app. I start the web app and after that, I made a change in a java file.

How can I see the change, without stoping and restarting the server - a shorter method?

© Stack Overflow or respective owner

Related posts about intellij-idea