PC_Lint在source insight中的集成与配置
来源:互联网 发布:linux 命令行删除目录 编辑:程序博客网 时间:2024/06/06 17:28
pc_lint可以帮助source insight进行代码的静态检查:
1、首先,下载pc_lint 这个在百度上直接搜索就可以了(安装的时候按照默认目录直接安装在C盘就可以了,这样方便一些,过程见http://www.docin.com/p-399952053.html);
2、配置完pc_lint后在source insight中添加pc_lint插件,方法:
从“Options”菜单中选择“Custom Commands”命令项。点击“Add…”按钮
Name栏中输入任意名字(给自己看的)
Run栏中输入“C:\PcLint\lint-nt -u -iC:\PcLint\env-si.lnt %f”其中C:\PcLint是你PC-LINT的安装目录,env-si.lnt表示为Source Insight定制的配置文件;
在Output栏中选择“Iconic Window”、“Capture Output”选项;
在Control栏中选择“Save Files First”;
在Source Links in Output栏中选择“Parse Links in Output”、“File,then Line”;
在Pattern栏中输入“^\([^ ]*\) \([0-9]+\)”;(显示有些不正常,可以查看http://suhacen.blog.163.com/blog/static/149147252201282631024752/ 中的介绍)
然后点右侧的Menu...,在弹出的界面中在下拉框Menu中选择View,然后在下面的Menu Cotents中选择<end of menu>, 右侧点Insert即可(此步增加一个快捷键在VIEW菜单中)
3、按照设置的快捷键使用source insight进行检查,之后通过source insight反馈回来的信息将需要添加的配置文件加入到pc_lint的安装路径中去,一半缺少的配置文件都在安装目录C:/lint/int中 找到后,将其复制到C:/lint中即可(需要几个复制几个)。
- PC_Lint在source insight中的集成与配置
- PC_Lint在source insight中的集成与配置
- astyle在VS与source insight中的漂亮配置
- gvim相关配置 及集成在source insight中
- sourcesight 与 pc_lint集成方法
- Source Insight 使用与配置
- Source Insight 与 PClint配置
- 在Source Insight中集成SourceStyler
- source insight 集成VC6.0 编译功能、pc-lint在si和vc下配置
- AStyle 在Source insight 中配置实用
- Quicker.em在source insight中的应用
- Quicker.em在Source Insight中的应用
- Asyle在source Insight 中的使用
- 将PC-LINT功能集成在Source Insight中
- 如何在Source Insight中集成SourceStyler C++
- 如何在Source Insight中集成SourceStyler C++
- Source Insight与Pclint集成开发安装关键步骤
- pclint集成到source insight
- JPPF并行计算框架类加载机制研究
- java 小结 (三)
- 通过URLClassLoader实现动态加载jar文件
- URLClassLoader会“挂住”所有它已经打开了的在classpath上的文件
- 2016.03.25(嘿)
- PC_Lint在source insight中的集成与配置
- Sun的JDK里获取当前进程ID的方法(hack)
- .h,.m,.mm,.cpp等区别
- Linux 趁手工具之剪贴板系列
- jquery 进度条
- 计算机图形学---------屏幕、窗口、视口、裁剪区域概念区分
- Windows 下单机最大TCP连接数
- Mac OS常用快捷键
- Struts2 实现JSP页面之间的传值