为什么重命名目前不可用
我已经看到并使用了 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是正确的。所有重构功能均不适用于 C++ 项目(仅限 C# 和 VB)。如果你想要这些东西,你需要使用第三方插件,例如 Visual Assist。
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.