Modify Code Completion Settings in Code::Blocks

526 Views Asked by At

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?

2

There are 2 best solutions below

0
On BEST ANSWER

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.

1
On

This is the official plugin site for Code Completion http://wiki.codeblocks.org/index.php/Code_Completion_plugin and this video may help you while setting it up https://www.youtube.com/watch?v=d8ekpKgUIpM