Code::Blocks

User forums => Using Code::Blocks => Topic started by: perento on May 04, 2012, 02:44:24 pm

Title: Top shortcuts keys
Post by: perento on May 04, 2012, 02:44:24 pm
What are the most effective and popular key shortcuts that programmers often use? Ty
Title: Re: Top shortcuts keys
Post by: oBFusCATed on May 04, 2012, 02:48:20 pm
C::B specific Alt-D, Alt-G, Ctrl-Shift-x/c/v
Title: Re: Top shortcuts keys
Post by: Freem on May 04, 2012, 03:09:57 pm
Editing:
CTRL+Space (I do not like the auto-completion to pop when I do not ask it to)
F11
ALT+G
Ctrl-Shift-x/c (for which funtion do you have set the "v", oBFusCATed?)
CTRL+D
CTRL+clic (multi editing feature have some problems with copy and line returns but that's better than nothing... I guess the problem is from the scintilla component. There is also  problem with auto-completion which tend to pop itself on some conditions, but I think this last one is because I didn't configure it properly)

UI control:
F2
F1 (set to Manager instead of help, because SHIFT+F2 does not work here... like that, this key is still my best friend :D )

Debug:
F5
F8

And then, for menus, ALT+underlined letter of menu, followed by the underlined letter of the entry I want. And that's often build and debug menus, so ALT+D, ALT+G.

Then, mostly classic shortcuts: copy/past, move to begin/end of a word, a line or a file, undo/redo...

But I think someday I will remap many of them, because of problems I have with function keys + modifiers (shift, alt and ctrl).
To know what could be of some use, you should go to the keyboard shortcuts configuration.
Title: Re: Top shortcuts keys
Post by: oBFusCATed on May 04, 2012, 03:25:40 pm
Ctrl-Shift-x/c (for which funtion do you have set the "v", oBFusCATed?)
Some of the stream/box commenting options. I don't use this at work, but I do at home.
Title: Re: Top shortcuts keys
Post by: perento on May 04, 2012, 06:35:17 pm
Where is the keyboard shortcuts configuration?
Title: Re: Top shortcuts keys
Post by: oBFusCATed on May 04, 2012, 06:46:00 pm
You need the keybinder plugin (part of contribs). Then you'll have Settings->Editor->Keyboard shortcuts
Title: Re: Top shortcuts keys
Post by: perento on May 05, 2012, 12:21:13 pm
Could you please send me a link to ddownload.
Title: Re: Top shortcuts keys
Post by: oBFusCATed on May 05, 2012, 12:31:59 pm
It is included in 10.05 (requires reinstall if you don't have it) and in the nightlies... This is for windows, linux distros have it as a separate package...
Title: Re: Top shortcuts keys
Post by: perento on May 06, 2012, 04:25:45 am
I did installed 10.05 a month ago, i dont have that General Shortcuts, do i need to reinstall C::B to have it?
Title: Re: Top shortcuts keys
Post by: oBFusCATed on May 06, 2012, 10:30:13 am
What "general shortcuts"? It is "keyboard shortcuts". And yes you have to reinstall and you have to enable the contrib plugins.
Title: Re: Top shortcuts keys
Post by: perento on May 07, 2012, 09:19:12 am
Nice plugin, dunno why isnt perma in C::B installation bu you actualy have to accept or not.
Anyway, i did not know the shortcuts but now i can create my own or check the default ones

Thanks all, keep the hard work :>