In search of a short cut key in vc 2k5 ide

  • Thread starter Thread starter Abubakar
  • Start date Start date
A

Abubakar

Hi,

I desperately need this functionality in the VC++ 2k5 IDE: If I'm in some
class's header file, lets say "portlistener.h", I press a key and goto its
corresponding cpp file, which in this case will be "portlistener.h". If in
*.h file it should goto *.cpp and vice versa.

I use the ctrl+tab key *a lot* but that switching between header and source
file will be awesome.

Regards,

Ab.
 
Abubakar said:
I desperately need this functionality in the VC++ 2k5 IDE: If I'm in some
class's header file, lets say "portlistener.h", I press a key and goto its
corresponding cpp file, which in this case will be "portlistener.h". If in
*.h file it should goto *.cpp and vice versa.

I use the ctrl+tab key *a lot* but that switching between header and source
file will be awesome.

If you have Visual Assist the key is Alt+O. If you don't have it, give
it a try.
 
Abubakar said:
Hi,

I desperately need this functionality in the VC++ 2k5 IDE: If I'm in
some class's header file, lets say "portlistener.h", I press a key
and goto its corresponding cpp file, which in this case will be
"portlistener.h". If in
*.h file it should goto *.cpp and vice versa.

I use the ctrl+tab key *a lot* but that switching between header and
source file will be awesome.

Visual Studio doesn't have that function, but you can create it yourself.
See

http://www.codeproject.com/macro/hcppswitchermacro.asp

for a macro that you can install in VS to perform this function - once
you've got the macro installed, you can assign a keystroke to invoke it.

-cd
 
Back
Top