This topic created in 4817 days ago, the information mentioned may be changed or developed.
我想把以下这段代码
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一样自能的自动格式化方法吗?
1 replies 1970-01-01 08:00:00 +08:00  | | 1 aisensiy Feb 24, 2013 java 还是不要在 vim 里面写了 |