Author Topic: How to change key shortcuts in C::B?  (Read 36956 times)

dempl_dempl

  • Guest
How to change key shortcuts in C::B?
« on: September 21, 2007, 03:45:35 pm »
Hi,
 How to change key short-cuts in C::B?
 
 If that cannot be done, does anyone know the key for stopping Debuging?



Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: How to change key shortcuts in C::B?
« Reply #1 on: September 21, 2007, 04:30:44 pm »
Hi !

Go to Settings->Editor...
Then click on Keyboard shortcuts in the left columns.

Dje

dempl_dempl

  • Guest
Re: How to change key shortcuts in C::B?
« Reply #2 on: September 21, 2007, 08:17:16 pm »
 :D I can't be that stupid. I know C++ , that requires some sort of intelligence :) .
There is nothing like that on the left side, and ofcourse I've tried that. 8)

Version Info:

Aug 27 2007, wx2.8.4 unicode, Ubuntu Linux Feisty 7.04
« Last Edit: September 21, 2007, 08:19:49 pm by dempl_dempl »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: How to change key shortcuts in C::B?
« Reply #3 on: September 21, 2007, 08:41:41 pm »
That functionality is provided by a contrib plugin that you apparently don't have (if you don't see the option).
Look for KeyBinder.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

dempl_dempl

  • Guest
Re: How to change key shortcuts in C::B?
« Reply #4 on: September 21, 2007, 08:54:04 pm »
Thanks, I knew you folks didn't left out KeyBinding from program :D ...

dempl_dempl

  • Guest
Re: How to change key shortcuts in C::B?
« Reply #5 on: September 22, 2007, 12:56:10 am »
I've found KeyBinder source on the Net.
I've compiled it nicely, but there is a catch:

I've got .so library as a result, but Code::Blocks asks for .cbplugin file.
What should I do?
« Last Edit: September 22, 2007, 01:10:20 am by dempl_dempl »

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: How to change key shortcuts in C::B?
« Reply #6 on: September 22, 2007, 03:59:27 am »
I've found KeyBinder source on the Net.
I've compiled it nicely, but there is a catch:

I've got .so library as a result, but Code::Blocks asks for .cbplugin file.
What should I do?

You can copy that file into:
home/yourusername/.codeblocks/share/codeblocks/plugins

and the correct manifest.xml zipped with the name of the plugin to:
home/yourusername/.codeblocks/share/codeblocks

And next time codeblocks will try to load the plugin, if not check the pluguin menu->manage and enable it.

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: How to change key shortcuts in C::B?
« Reply #7 on: September 22, 2007, 11:18:00 am »
You may as well install the contributed plugins (there are some pretty cool ones) as following
  • if you compiled cb from source you have to configure it with
    Quote
    ./configure --with-contrib-plugins=all
  • if you installed it from a debian package, you will get them by installing codeblocks-contrib_1.0svn****_i386.deb
  • if you installed it from a repository (so. has posted one into the forum recently), execute "apt-get install codeblocks-contrib"

Regards raph

dempl_dempl

  • Guest
Re: How to change key shortcuts in C::B?
« Reply #8 on: September 22, 2007, 11:17:05 pm »
Raph , I love you ...