Reputation: 85
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?
Upvotes: 0
Views: 552
Reputation: 85
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.
Upvotes: 1
Reputation: 547
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
Upvotes: 0