User forums > Help

Change comment style

(1/2) > >>

mgoyanes:
Hi there.

I'm using code::blocks to program in C language.

Is it possible to change the default coment style (//) to the C style (/**/)?
If I press CTRL+SHIFT+C code is commented with // and it gives error when compiling.
I know I can enter /**/ by hand but I was thinking if there was the possibility to create a key combination.

Regards,

mgoyanes

oBFusCATed:
You can use the keybinder plugin to define shortcuts for edit->box comment or edit->stream comment.
I'm not really sure what is the difference between the two.

mgoyanes:
Sorry but where can I download that plugin?

oBFusCATed:
Hm, my magic ball seems to be broken at the moment and I cannot tell your os/distro/c::b version, so I can't tell you how to install it.

p.s. search for it and you'll find how to install it.

mgoyanes:
Sorry but did'n know that was needed to know that.

Code::Blocks  10.05 running on a windows 7 64bits machine.

I tryed to google it but I was unable to find. Probably putting the wrong keywords

Navigation

[0] Message Index

[#] Next page

Go to full version