Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ramS on May 14, 2008, 09:34:28 pm

Title: Keyboard shortcuts mapping
Post by: ramS on May 14, 2008, 09:34:28 pm
Hi,
    I have started using C::B and like it very much. However I have a few questions.
1. Scintilla(scite) uses ctrl+Q to comment or uncomment. Another editor that uses scintilla also uses the same shortcuts. However C::B uses shft+ctrl+C. I would like to change this to ctrl+Q. Is there a way to remap the keyboard shortcuts?
2. I would like automatic brace/parenthesis/bracket completion. Is this doable using C::B?

Thanks,
RamS
Title: Re: Keyboard shortcuts mapping
Post by: Jenna on May 14, 2008, 10:39:54 pm
If you have contrib-plugins installed (in this case you need the "Keyboard shortcuts" plugin", you can go to "Settings -> Editor... -> Keyboard shortcuts" (you have to scroll the icons on the left side) and add the shortcut to "Edit -> Toggle Comment".

That will remove rthe shortcut from "File -> Quit", but I think that doesn't matter for you.