Author Topic: Code completion keyboard shortcuts  (Read 3775 times)

Offline zpin

  • Single posting newcomer
  • *
  • Posts: 3
Code completion keyboard shortcuts
« on: July 10, 2008, 10:54:15 am »
First off: Good work you did on this IDE! I use it on a daily basis.

Recently I updated from the release version to nightly builds, and it seems that the code completion plugin defines some keyboard shortcuts that can't be overridden by the keyboard shortcuts plugin.

In my case it is CTRL-DELETE that bothers me. I use this frequently to delete the word after the cursor (as described here: http://wiki.codeblocks.org/index.php?title=Keyboard_Shortcuts ), but the code completion plugin overrides this to search for a symbol (even though the wiki says that these shortcuts can't be rebound).
Is there anything that I haven't found yet for overriding the default shortcuts defined by plugins, or can this be changed via a config file somewhere?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Code completion keyboard shortcuts
« Reply #1 on: July 10, 2008, 11:56:57 am »
It's most likely a wxWidgets-problem.

In "Settings -> Editor -> Keyboard shortcuts" change the shortcuts for "Search -> Goto declaration", "Search -> Goto implementation", "Search -> Open include file".
They all use a dot (".") and/or "CTRL","ALT" or "SHIFT".

Instead of the dot (".") you can use a comma (",").

That works perfectly for me.

Offline zpin

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code completion keyboard shortcuts
« Reply #2 on: July 10, 2008, 12:10:31 pm »
hey, thanks... works fine for me too.

so somehow the "." and "DELETE" get mixed up...