Search code examples
ccodeblocksindentationcode-completion

Modify Code Completion Settings in Code::Blocks


I have a problem with Code::Blocks, is there a way to change the indent of the auto-completion for reserved words?

What I get:

printf(|) scanf(|)

What I want to get:

printf(|); scanf(|);

I want it to auto-add the semi-colon every time I type those reserved words.

for | being the location where the cursor will be.

Is it possible to edit the code-completion plugin?


Solution

  • Still nothing about editing the code-completion, but I found another way to solve it, I used the

    Settings>Editor>Abbreviation

    section to add the keywords to be able to CTRL+J and make the code with the semi-colon.