/**
     * 验证
     * 
     * @param id 用户ID
     * @param pwd 用户密码
     */让他保存时自动换成这种注释方式,找了好久,还是没找到地方
    /**
     * 验证
     * 
     * @param id 
     *            用户ID
     * @param pwd 
     *            用户密码
     */eclipse

解决方案 »

  1.   

    eclipse的代码模板配置问题eclipse->首选项->java->code style->code->template->comment
      

  2.   

    code template--comment--自己展开,改为自己的
      

  3.   


    1,在 eclipse 菜单,选择:
    Preferences -> Java -> Editor -> Save Actions2, 在右边的 Save Actions 对话界面上,选择
      Perform the selected actions on save
        Format source code
        ... 等等 你需要的选项
      

  4.   

    Window->Preferences -> Java -> Editor -> Save Actions