I am trying a series of java classes in your .java, but all the code is in a single line. I would like to know if there is any method that does a format directly without having to do it from Eclipse or NetBeans.
If for example I have a class hello.java like this:
public class HolaMundo {public static void main(String[] args {System.out.println("Hola Mundo");}}
When I call it with some method in my application, I automatically leave it like this:
public class HolaMundo {
public static void main(String[] args) {
System.out.println("Hola Mundo");
}
}
Thanks