Eclipse/C + + environment configuration

Source: Internet
Author: User

First, C + + environment configuration: window-preferences-c/c++
1. Editor-content Assist-auto-activation-delay (MS), the original value is 500, changed to 100, the smart prompt speed will be very fast!
2. enviroment, add three environment variables:
Include=${system:eclipse_home}/include
Lib=${system:eclipse_home}/lib
Path=${system:eclipse_home}/bin;${system:eclipse_home}/tool/svn
3. Indexer, clear the contents of files to index up-front, modify the value of the cache limits, as large as possible, can improve speed!
4. Net CDT Project Wizard-makefile Project
Binary parsers, select PE Windows Parser
Error parsers, only the CDT Visual C error Parser is selected
Discovery Options, cancel automate Discovery of paths and symbols, because VC is not supported.
Builder Settings, cancels the Use default build command option, changing the value of build command from make to NMAKE (note: No change, using make)
5. Code style, create a new style with new, name Qpsoft, initialize to Bsd/allmain, and modify some details as you go.
6. Editor-templates, select Use code formatter, so that the quick completion of the code is your own design style.
7. Appearance, select group method definitions in the Outline view
Second, let the project support intelligent tips
Since the VC compiler does not compile the header file path into the executable file, it is not possible to know the path of the relevant header file and need to be set manually to use the Smart prompt feature. Method: Project-properties-c/c++ general-paths and Symbols-includes,add, select include from variables, select Add to all configuration , Add to all languages.

Third, the shortcut keys to modify smart tips
Window-preferences-general-keys, input content, find content Assist, in the binding modified to Shift+space, more handy.

Iv. Other Settings
1. Window-preferences-general-editors-text Editors, check show line numbers, set print margin column to 110
2. Window-preferences-general-workspace, cancel build automatically, select Save automatically before build

Eclipse/C + + environment configuration

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.