我想把以下这段代码
public class test1{
public static void main(String[] args)
{int a=0,b=0;}}
自动格式化成以下形式
public class test {
public static void main(String[] args) {
int a = 0, b = 0;
}
}
如果用gg=G的话,根本就不行.有什么办法能像eclipse的ctrl/command+shift+f一样自能的自动格式化方法吗?
public class test1{
public static void main(String[] args)
{int a=0,b=0;}}
自动格式化成以下形式
public class test {
public static void main(String[] args) {
int a = 0, b = 0;
}
}
如果用gg=G的话,根本就不行.有什么办法能像eclipse的ctrl/command+shift+f一样自能的自动格式化方法吗?