为什么重命名目前不可用

发布于 2024-10-07 13:20:02 字数 277 浏览 0 评论 0原文

已经看到并使用了 Visual Studio 2010 中的重命名功能。

但是,在 C++ 模式下编辑代码时,我没有看到“重构”菜单,并且显示了 CTRL+R CTRL+ R 命令产生以下错误消息:

组合键(Ctrl+R、Ctrl+R)绑定到当前不可用的命令(重命名...)。

Eclipse 似乎已经做到了这一点。 VS 2010 中没有针对 VC++ 的重命名功能吗?

I have seen and used a rename feature in Visual Studio 2010.

However when editing code in C++ mode, I see no "Refactor" menu, and the CTRL+R CTRL+R command produces the following error message:

The key combination (Ctrl+R, Ctrl+R) is bound to command (Rename...) which is not currently available.

Eclipse seems to have got this right. Is there no rename feature in VS 2010 for VC++?

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

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

发布评论

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

评论(1

明媚殇 2024-10-14 13:20:02

VS 2010 for VC++ 没有重命名功能吗?

这是正确的。所有重构功能均不适用于 C++ 项目(仅限 C# 和 VB)。如果你想要这些东西,你需要使用第三方插件,例如 Visual Assist

Is there no rename feature in VS 2010 for VC++?

That is correct. None of the refactoring features work for C++ projects (C# and VB only). If you want these things, you need to use a third party plugin, such as Visual Assist.

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