Source Insight与Pclint集成开发安装关键步骤

来源:互联网 发布:js replace 编辑:程序博客网 时间:2024/05/29 09:43

最近在使用source insight码代码,确实很好用的一个工具,怪不得很多大公司都在使用。
把pclint集成到source insight大大提高了其使用的方便性。
安装pclint过程中会有config过程,自动配置好std.lnt文件,包括自己选择路径的问题,比如VS使用时,在std.lnt里添加上“-i 路径”,就可以了,只不过接下来在环境变量配置中,也就是source insight的Option-Custum Commands里配置时,如下:
打开source insight->options->Custom command,按照下面要求配置:
Run: C:\LINT\LINT-NT.EXE std.lnt %f
Dir: C:\LINT
Output选择lconic Window,Capture Output
Control选择Save Files First
Source Links in Output选择Parse links in Output
则自动生成Pattern: ^([a-zA-Z].)(([0-9][0-9])).*
然后Run一下,再添加上刚才的功能键就OK了。

0 0
原创粉丝点击