It is currently Fri Sep 22, 2017 5:12 pm

All times are UTC - 5 hours




 Page 1 of 1 [ 6 posts ] 
Author Message
 Post subject: Useful Tips for Visual Express C++
PostPosted: Tue Jan 15, 2008 1:44 pm 

Joined: Sat Jun 23, 2007 7:56 pm
Posts: 145
Hi,
Am creating the thread so that people can share tips on how to make working in Visual Studio Express easier.

My first tip :D - Open header file for CPP file with shortcut Key
1. Go to Tools->Options
2. Select Environment->Keyboard
3. In the box titled "Show commands containing" type "gotoheader" (without the quotation marks)
4. Make sure "Global" is selected in dropdown list titled "Use new shortcut in"
5. Assign shortcut keys of your choice (I used Alt+O) by clicking in filed titled "Press shortcut keys"

Unfortunately there is no such option to go to source file. I'll see what i can come up with.


Offline
 Profile  
 
 Post subject:
PostPosted: Tue Jan 15, 2008 10:08 pm 

Joined: Thu Nov 29, 2007 9:44 pm
Posts: 22
One cool Visual Studio trick I find helpful...

You can use the Toolbox when writing code. If you write a block of code, then highlight it and drag it into the Toolbox you can drag it back out again later. Just right click on the element to rename it to something useful.


Offline
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 6:07 pm 

Joined: Sat Jun 23, 2007 7:56 pm
Posts: 145
You can Cycle through your open documents by holding down the CTRL key and pressing the TAB key ---> CRTL+TAB


Offline
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 6:41 pm 
Site Admin

Joined: Sun Feb 11, 2007 8:59 am
Posts: 1105
Location: Ontario Canada
you can select a column of code by holding the ALT key while left mouse button click and dragging to make the selection.


Offline
 Profile  
 
 Post subject:
PostPosted: Thu Feb 07, 2008 9:26 pm 

Joined: Sat Jun 23, 2007 7:56 pm
Posts: 145
if you select an expression (highlight it with the mouse) eg
height* 0.5 + padding;
while debugging your code, the expression is evaluated and a result is displayed as a tooltip. just like when you point the mouse at a variable/struct and its contents are shown.


Offline
 Profile  
 
 Post subject: Tip of the day
PostPosted: Mon Sep 08, 2008 1:14 am 

Joined: Wed Aug 06, 2008 7:53 pm
Posts: 182
Location: Russia
You can neatly format you source file if you quickly press CTRL+A, then release them, then press DEL. :D


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

cron