Question

Does anyone know how to make a macro or something to switch between foo.hpp and foo.cpp? I would really appreciate having a macro like this. I guess it would help if it actually opened the corresponding file, but kept the old one in a tab.

Thanks

Était-ce utile?

La solution

Perhaps one (or a combination) of the following will help you:

Autres conseils

Why not use right click > Go to declaration | Go to definition?

In Visual Studio 2013 it was added as Ctrl + K, Ctrl + O

Some of the options ran slow for me in large projects. This one doesn't look in other folders but works faster and should cover most needs: switch between .cpp & .h files

You could try using 'Switch' - this is an addin that switches between source and header files, but also lets you switch between other types of related files - XAML and codebehind, designer and code etc etc. Switch

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top