⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 env-sl3.lnt

📁 PC-Lint是一种静态代码检测工具
💻 LNT
字号:
/* 
    env-sled3.lnt:  environment options for Visual Slick Edit version 3.0+

    If you are using the visual slick edit editor and you wish to invoke
    PC-lint from that environment then do the following.

    1) create a new project by selecting the new/open option
       from the project menu.  type lint.vpj at the filename and
       click on NEW
    2) edit the project by selecting the Project Properties option from
       the Project menu.  In order to set up PC-lint for C/C++,

       a) Click on the "Directories" tab.  To change the Include directory 
		  place either the path or the include environment variable which 
		  contains the path to header files.  for example

            %(INCLUDE)

          or

	    c:\compiler\include

       b) at compile text box enter the following
 
	    lint -ic:\lint std.lnt %f
 
	  Replace "c:\lint" by the appropriate lint directory if
	  necessary.  Ensure the capture output check box is checked
	  (recommended).

    PC-lint is now able to be invoked as you would a compiler;
    just select the compile option from the project menu.

*/

-"format=%(%f %l %)error %n: (%t -- %m)"     //  Messages will contain
    //  file information (%f), the line number (%l), the
	//  message number (%n), message type (%t) and message text (%m).
    //  Notice that all messages are labeled 'error' but are then
    //  followed by a type (such as Warning, Info, Note, etc.)

-hF2    //  Make sure we ALWAYS provide file information ('F') and use 2
	//  lines (line in error plus message).

-width(0) //  don't break messages at any particular width

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -