Chinaunix首页 | 论坛 | 博客
  • 博客访问: 325854
  • 博文数量: 61
  • 博客积分: 1445
  • 博客等级: 上尉
  • 技术积分: 435
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-08 16:04
文章分类

全部博文(61)

文章存档

2010年(61)

分类:

2010-01-27 23:48:21

看到这个工具后,就想到自己平时的代码可以用一下这个东西,就下载后试了一下,是用来代码规范的工具,

命令行运行有:


narrange-console [output] [/c:configuration]
        [/b] [/r] [/t]


input   Specifies the source code file, project, solution or
        directory to arrange.

output  For a single source file, specifies the output file
        to write arranged code to.
        [Optional] If not specified the input source
        file will be overwritten.

/c      Configuration - Specifies the XML configuration file to use.
        [Optional] If not specified the default
        configuration will be used.

/b      Backup - Specifies to create a backup before arranging
        [Optional] If not specified, no backup will be created.
        Only valid if an output file is not specified
        and cannot be used in conjunction with Restore.

/r      Restore - Restores arranged files from the latest backup
        [Optional] When this flag is provided, no files will be arranged.
        Only valid if an output file is not specified
        and cannot be used in conjunction with Backup.

/t      Trace - Detailed logging在VS中设置一下就可以用了It is also

在VS中设置一下就可以用了

2、It is also recommended to setup a restore command using the same parameters, replacing /b with /r. However, be careful when using restore as it will revert any edits made to a file since the last NArrange.

就可以用了, 试了一下果然可以帮我詷一下代码结构。^_^
对调整的规则刚可以通过它的一个工具进行修改和进行自定义的配制。
阅读(1134) | 评论(0) | 转发(0) |
0

上一篇:NArrange代码管理器简介

下一篇:实战NArrange

给主人留下些什么吧!~~