Solving the codeblocks indentation anomaly in Ubuntu 14.04

Source: Internet
Author: User

opening codeblocks in Linux cannot be automatically indented to resolve:

Install the Codeblocks-contrib and enter it in the terminal:

sudo apt-get install codeblocks-contrib
Restart codeblocks

To change the indent size:

setings, Editor, General setings, Font, Increase tab size in space to 8


Auto-Complete code framework:

setings, Editor and abbreviation, which defines a number of abbreviations, can be modified according to their own habits, as long as the input of these abbreviations, press CTRL+J, you can automatically complete the common code framework, And put the cursor in the right place (by using | Express when customizing)


the words that have been entered are automatically completed:

setings, editor, Keyboard Short-cuts, Edit, editor, tweaks, complete code shortcut changed to Ctrl+ta B (or other)


Other settings:

setings, Editor, Code pompletion, Delay for auto-kick-in when typing [.::->] Change to 200ms, you can quickly pop up the prompt.

If you declare a class, right-click in the CPP file, Insert->all class methods without implementation ... To insert the definition of a method you haven't defined yet.

Solving the codeblocks indentation anomaly in Ubuntu 14.04

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.