pc link整合到source insight中,用于代码查错

原来是这样解决的,多谢各位啦:)

一、安装。
    1。首先,将本目录下的文件全部拷贝到c:/lint之下。
    2。然后,在Source   InSight   中,选择   Option-> Custom   Commands...   弹
          出“Custom   Commands”窗口。
          进行如下设置:
            1)   Command   不要填,Name填   PCLint
            2)   Run中填:C:/LINT/Lint-nt.exe     -ic:/lint/   std.lnt       %f
            3)   选中以下复选框:
                        Iconic   Window  
                        Capture   Output
                        Save   Files   First
                        Wait   Until   Done
                        Parse   Links   in   Output
                        File,   then   Line
                  其他复选框不选。
            4)   Pattern   中填:^/([a-zA-Z0-9].*/)/w/(/w[0-9][0-9]*/w/)
          然后点   Add   按钮。
      3。最后设置快捷键。
            点此窗口中的   Keys...   按钮,在   Commands   框中选“PCLint”,点  
            "Add "   按钮,然后敲一个热键。建议设为 "   Ctrl+Shit+1 ",没有冲
            突。最后点   "OK "   键。
      4。在“Custom   Commands”窗口中点 "Change "按钮。

二、使用
            以后,在要   lint   的文件窗口下使用热键 "   Ctrl+Shit+1 "就可以使用
      PClint   啦。

你可能感兴趣的:(pc link整合到source insight中,用于代码查错)