Visual Studio 2008宏在头文件和源文件之间切换?

发布于 2024-07-17 04:33:13 字数 112 浏览 10 评论 0原文

有谁知道如何制作宏或在 foo.hpp 和 foo.cpp 之间切换的东西? 我真的很感激有这样的宏。 我想如果它确实打开了相应的文件,但将旧文件保留在选项卡中,将会有所帮助。

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

忆悲凉 2024-07-24 04:33:13

也许以下一项(或多项)会对您有所帮助:

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

陌伤浅笑 2024-07-24 04:33:13

为什么不使用右键> 前往声明 | 转到定义?

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

脱离于你 2024-07-24 04:33:13

在 Visual Studio 2013 中,它被添加为 Ctrl + K、Ctrl + O

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

究竟谁懂我的在乎 2024-07-24 04:33:13

在大型项目中,某些选项对我来说运行缓慢。 这个不会在其他文件夹中查找,但运行速度更快,并且应该满足大多数需求:
之间切换.cpp 和 .h 文件

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

心的憧憬 2024-07-24 04:33:13

您可以尝试使用“Switch” - 这是一个在源文件和头文件之间切换的插件,但也允许您在其他类型的相关文件之间切换 - XAML 和代码隐藏、设计器和代码等。
开关

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文