Post Reply  Post Thread 

Shortcut for C
Author
 
alexthomsan
Junior Member
**

Posts: 3 
Group: Registered 
Joined: Jan 2010 
Status: Offline  
Post: #1
Shortcut for C (01-02-2010 10:40 PM)

Shortcut for C/C++


Editing

* Ctrl+F - Find/Replace.
* Ctrl+K - Find next -> Be careful, it is not F3, like many other applications.
* Ctrl+L - Go to line -> Be careful, it is not Ctrl+G, like many other applications.
* Ctrl+Space - Code completion. For example, if you type “do” and press Ctrl+Space, the IDE will display code template for “do while” loop. Furthermore, you can display a list of class member by pressing Ctrl+Space too. Normally, they are displayed when you type “.”, “->” or “::” after a member class variable. In some cases, you may need Ctrl+Space, for example when you move to another line and then come back to the previous line.
* Ctrl+Shift+Up and Ctrl+Shift+Down - Go to the next or previous methods and/or functions.


Navigation

* Ctrl+F6 - Navigate to the next file editor. This is always useful shortcut, especially when you are working with several files at the same time.
* Ctrl+F7 - Navigate to the next view, for example you can switch from the file editor to file tree view.
* Ctrl+F8 - Navigate to the next perspective, for example you can switch from the Symbian perspective to the Debug perspective.


Building and Running

* Ctrl+B - Build the current project.
* F11 - Debug the current project.
* Ctrl+F11 - Run the current project.
* Ctrl+. and Ctrl., - Go to the next and previous annotation. You may find this useful when you have several error messages from the compiler. You can use these shortcuts to walk through the list of error messages.


Debugging

* Ctrl+Shift+B - Toggle breakpoint. Note that by default, you can only use this shortcut in the Debug perspective. To enable this in C/C++ perspective, do Window -> Customize perspective -> Commands -> Breakpoints.
* F5 - Step Into.
* F6 - Step Over.
* F8 - Resume.
* Ctrl+R - Run to line.


Happy New Year 2010 (This post was last modified: 01-02-2010 10:42 PM by alexthomsan.)
Find all posts by this user Quote this message in a reply
 
jenyroger
Junior Member
**

Posts: 3 
Group: Registered 
Joined: Jun 2010 
Status: Offline  
Post: #2
RE: Shortcut for C (06-14-2010 07:14 PM)

This information is really nice to know about this C/C++ . There are lots of short cut for this language it is nice posting this type of knowledge and information .


promo codes
Find all posts by this user Quote this message in a reply
 
herrymoris
Junior Member
**

Posts: 6 
Group: Registered 
Joined: Jul 2010 
Status: Offline  
Post: #3
RE: Shortcut for C (07-22-2010 05:30 PM)

alexthomsan, I like the information which you have shown here. And I came to know about that. But the one thing that I want to say you that the sort cut which you ahve given here that depends on some of the particular softwares. We can not apply the same on each and every software.


16gb compact flash (This post was last modified: 07-22-2010 05:32 PM by herrymoris.)
Find all posts by this user Quote this message in a reply

Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this thread |
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Forum Jump: