Editor selection elements for Linux development tools using C ++

Source: Internet
Author: User
The first thing to do for development is to select an appropriate editor. The editor selection determines your development efficiency. Next I would like to talk about the three elements for choosing the appropriate compiler. In order to save development time, let's take a look at the following C ++

The first thing to do for development is to select an appropriate editor. The editor selection determines your development efficiency. Next I would like to talk about the three elements for choosing the appropriate compiler. In order to save development time, let's take a look at the following compiler selection elements for Linux development tools using C ++

1. Reduce Unnecessary editing actions and reduce the editing time.

All the editing tasks that can be described without ambiguity by using C ++ as a Linux development tool can and should be automated. For example, every C ++ program has a main function. when importing a file, you want to add some pre-processing commands # define to help us solve the trouble of repeatedly referencing the same header file. Mouse operations are always slower than keyboard operations. In this regard, EMACS is doing its best. Therefore, EMACS users often boast that their editing speed is the same as their thinking speed.

2. high scalability.

The editor intended by programmers who use C ++ for Linux development tools should be able to provide some programming help, such as syntax highlighting, automatic completion, automatic layout, and syntax check. Take a look at gedit, vim, emacs, and ultraEdit, and you will find that they provide far less simple functions than windows Notepad. For a new language and new syntax, they should be easily supported without stopping in one or more fixed languages.

3. high customization.

If you want to work on R & D for a long time, especially in linux/unix, you need to learn an editor with sufficient functions. There is one sentence: There are three types of programmers in Linux: emacs, vi, and others.

EMACS, a Linux development tool using C ++, is a GPL editor written by Stallman in lisp. The emacs mentioned here refers to GNU emacs, not Xemacs. Because of its openness, we can build it into a powerful IDE. After CGYwin is installed, EMACS can also be used in Windows. CGYwin and MINGW are third-party tools for simulating POSIX systems on Windows.

EMACS, a Linux development tool using C ++, is not so much an editor as an operating system. We can use it to write programming, write wiki, send and receive emails, and so on. EMACS is extended in two ways: el script (elisp is a dialect of lisp) and third-party extension package. EMACS has a high entry cost. Because it is a pure keyboard operation, you need to remember a large number of shortcut keys. the powerful function is achieved by adding some extension packages to the user, and the lisp script. Patience and skill are required to correctly configure and modify the configurations.

Related Article

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.