User forums > Using Code::Blocks
Keyboard shortcuts on Mac in Code Blocks 10.05 interfere with editing
jim.clarke:
I'm trying out Code Blocks for the first time, so may have missed an existing answer to this question. If so, my apologies -- I did try!
Code Blocks 10.05 rev 6282, downloaded Jun 2, 2010.
Mac OS X 10.6.3
XQuartz 2.5.0
I can create a console application, compile and run it. However, changing the code is difficult, since 'f' is bound to Find, 'r' to Replace, and other letters in other ways. The space bar has its own special effect that seems to be discussed in the FAQ ("Space bar triggers code completion"), though I'm not positive that's precisely what's happening. All this makes it spectacularly impossible to change "Hello world" to "Hello world from ...".
Trying to remove the keyboard shortcuts causes the IDE to crash.
Since these issues make the IDE unusable, I must be missing something simple and would be grateful to have it pointed out to me.
Thanks!
afb:
--- Quote from: jim.clarke on June 04, 2010, 10:56:51 pm ---Trying to remove the keyboard shortcuts causes the IDE to crash.
Since these issues make the IDE unusable, I must be missing something simple and would be grateful to have it pointed out to me.
--- End quote ---
The "keyboard shortcuts" plugin doesn't seem to be working unfortunately, you need to disable it.
Plugins > Manage plugins..., or remove CodeBlocks.app/Contents/Resources/share/codeblocks/libkeybinder.so
afb:
The "Cmd-" part of the modifiers aren't being recognized, only "Ctrl-".
Which means that for instance "Cmd-Shift-N" is recorded as "Shift-N".
jim.clarke:
--- Quote from: afb on June 04, 2010, 11:02:21 pm ---The "keyboard shortcuts" plugin doesn't seem to be working unfortunately, you need to disable it.
Plugins > Manage plugins..., or remove CodeBlocks.app/Contents/Resources/share/codeblocks/libkeybinder.so
--- End quote ---
Excellent! Thank you. It's usable now.
There's still the issue that its idea of quitting includes crashing and sending a report to Apple, but I'll let Apple worry about that one.
jim.clarke:
--- Quote from: afb on June 04, 2010, 11:24:10 pm ---The "Cmd-" part of the modifiers aren't being recognized, only "Ctrl-".
Which means that for instance "Cmd-Shift-N" is recorded as "Shift-N".
--- End quote ---
For the record, and only to benefit possible future readers of this thread, the trouble was that no modifier was needed: it was cheerfully taking 'f', with no modifiers at all, to start the Find command. Augh!
As noted by afb, the cure was to disable keyboard shortcuts. That may prove annoying, but not fatal.
Navigation
[0] Message Index
[#] Next page
Go to full version