用过eclipse ctrl+shit+f的人肯定都感觉eclipse这个功能很爽. 但对于数组,有时候就不是这样了. 比如在opengl中定义一些顶点信息: int one = 0x010000; private int[] colorBufferForQuad = new int[]{ 0,one,0,one, 0,one,0,one, 0,one,0,one, 0,one,0,one, one, one/2, 0, one, one, one/2, 0, one, one, one/2,…