是不是指回车的时候自动按tab长度对齐。
如果是:JBuilder-->tools-->editor Options-->editor-->editor options-->有五项你看着办。如果是想把一段程序整体往左或右移,那就不知道了。

解决方案 »

  1.   

    我的意思是:
    例如:
    public class test{
      int i;
      string name;
      public test(){
         System.out.printfln("dfd");
      }
    }
    我试了在JBuilder-->tools-->editor Options-->editor-->editor options里设了,可是没有什么效果。当我回车时光标也总是跳到下一行的行首,而不会产生缩进。
      

  2.   

    JBuilder-->tools-->editor Options-->editor里BLOCK INDENT设成你想缩进的距离就可以了
      

  3.   

    回车以后自动缩进并不好,比如:
    int i;
    String sString;
    String sNewString;
    会变成如:
    int i;
        String sString;
            String sNewString;
    难道你再对齐?我还是手工缩进的,如果一整段程序要增加缩进,可以选中一段后按Tab键,如果要减小缩进,可以按“Shift”+“Tab”。