我见过并使用过 rename
Visual Studio 2010 中的功能。
但是,在 C++ 模式下编辑代码时,我看不到“重构”菜单,并且 CTRL+R CTRL+R 命令产生以下错误消息:
The key combination (Ctrl+R, Ctrl+R) is bound to command (Rename...) which is not currently available.
eclipse 似乎做对了。 VS 2010 for VC++ 中没有重命名功能吗?
最佳答案
Is there no rename feature in VS 2010 for VC++?
那是正确的。所有重构功能都不适用于 C++ 项目(仅限 C# 和 VB)。如果你想要这些东西,你需要使用第三方插件,比如Visual Assist .
关于visual-studio-2010 - 为什么重命名当前不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4410527/