views:

76

answers:

1
  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?

A: 
  1. No, blank lines inside methods are not removed. Settings | Code Style | Blank Lines can control it in many places, but not within methods.

  2. Easily, see the related blog post.

CrazyCoder

related questions