Integrate PC link into source insight for code error detection

Source: Internet
Author: User
This is the solution. Thank you :)

1. installation.
1. First, copy all the files in this directory to C:/lint.
2. Then, in source insight, select option-> Custom commands...
The "m commands" window is displayed.
Perform the following settings:
1) do not enter command, and enter pclint for name.
2) Run: C:/lint/Lint-nt.exe-ic:/lint/STD. LNT % F
3) Select the following check boxes:
Iconic window
Capture output
Save files first
Wait until done
Parse links in output
File, then line
Other check boxes are not selected.
4) pattern: ^/([a-zA-Z0-9]. */)/W/(/W [0-9] [0-9] */W /)
Click Add.
3. Finally, set the shortcut key.
Click the keys... button in the window, select "pclint" in the commands box, and click
Click the "add" button and then press a hot key. We recommend that you set it to "Ctrl + shit + 1 ".
Burst. Click "OK.
4. In the custom commands window, click the "change" button.

Ii. Use
Later, use the hotkey "Ctrl + shit + 1" in the file window for lint.
Pclint.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.