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