Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Anonymous on May 28, 2005, 04:52:06 pm

Title: Shortcut Keys
Post by: Anonymous on May 28, 2005, 04:52:06 pm
Hello, is there a list of the supported shortcut keys somewhere (I use 1finalbeta)? I've search a bit in the forums and wiki etc., but didn't find anything..
Title: Shortcut Keys
Post by: rickg22 on May 28, 2005, 05:18:47 pm
All the shortcut keys can be seen in the menus. However there are other shortcut keys not mentioned:

Ctrl-F4 or Ctrl-W - Close window
Ctrl-Shift-W Close all windows (in CVS version you can also use Ctrl-Shift-F4)
Ctrl-F6 or Ctrl-Tab - Next Window
Ctrl-Shift-F6 or Ctrl-Shift-Tab - Previous Window

For comodity, here are two commonly used keys:
F2 - Hide / show message pane
Shift-F2 - Hide / Show Manager pane (aka Solution explorer)
Title: Shortcut Keys
Post by: Anonymous on May 28, 2005, 06:17:57 pm
Hmm.. thanks.
I guess there are no keys to indent/unindent the selected block of code?
Title: Shortcut Keys
Post by: rickg22 on May 28, 2005, 06:22:36 pm
Uh... that should be pretty obvious. TAB / Shift-TAB. I guess it's not THAT obvious then :P
Title: Shortcut Keys
Post by: mandrav on May 28, 2005, 06:32:56 pm
Which reminds me that Shift-TAB stopped working with the notebook now...

Yiannis.
Title: Shortcut Keys
Post by: squizzz on May 28, 2005, 07:18:47 pm
Quote from: rickg22
Uh... that should be pretty obvious. TAB / Shift-TAB. I guess it's not THAT obvious then :P

Maybe because the expected combination for this task seems to be "ctrl + shift + i" (indent) and "ctrl + shift + u" (unindent), like in BCB or Dev-C++ :D
I also didn't notice... :oops:
Title: Shortcut Keys
Post by: Anonymous on May 28, 2005, 09:47:09 pm
Quote from: rickg22
Uh... that should be pretty obvious. TAB / Shift-TAB. I guess it's not THAT obvious then :P

Quote from: squizzz
Maybe because the expected combination for this task seems to be "ctrl + shift + i" (indent) and "ctrl + shift + u" (unindent), like in BCB or Dev-C++  :D

I'm used to Ctrl+I/Ctrl+U from Delphi... hmm, I guess it would be nice if the shortcuts could be configured to everyone's own preferences. Anyway, thanks - it was starting to be rather annoying to tab/delete each line separately. :D

Btw, is there a way to get from an identifier to its definition (like Ctrl+LeftClick in Delphi)? That would be very handy..
Title: Shortcut Keys
Post by: squizzz on May 28, 2005, 10:58:10 pm
Quote from: Anonymous
it was starting to be rather annoying to tab/delete each line separately. :D

I have a strange feeling you haven't discovered "Source code formatter" plugin yet :D (mess your code & indents, and try clicking "Plugins->Source code formatter")
Title: Shortcut Keys
Post by: takeshimiya on June 01, 2005, 01:22:55 pm
A "Go to Definition" and "Go to declaration" in CB like MSVC have in the context menu would be very helpful.

I also have filled a request about "Customizable shortcuts" (key bindings)
I think that the code of wx Keybinder can be of help.
http://wxcode.sourceforge.net/components/keybinder/index.html
http://wxcode.sourceforge.net/complist.php
Title: Shortcut Keys
Post by: Anonymous on June 16, 2005, 09:20:55 pm
Is there any way of starting a highlighted cursor section to make a c/c  from the key board?

I 'm used to doing it with a space bar tap and it seems it does not work.
Title: Shortcut Keys
Post by: rickg22 on June 16, 2005, 11:01:06 pm
what's a c/c? I'm not familiar with the acronym.
Title: Shortcut Keys
Post by: tiwag on June 17, 2005, 09:35:22 am
Quote from: Anonymous
Is there any way of starting a highlighted cursor section to make a c/c  from the key board?

I 'm used to doing it with a space bar tap and it seems it does not work.


as in almost any editor

SHIFT and cursor keys !
Title: Shortcut Keys
Post by: Anonymous on June 18, 2005, 04:41:09 pm
Quote from: rickg22
what's a c/c? I'm not familiar with the acronym.


cut and copy.