MSVC++ 中的 Intellisense 质量和稳定性是否得到了提高? 2010年?
对于那些从 2008 年升级到 2010 年的人来说,这确实是两个不同的问题:
- 智能感知是否工作得更好 在这个版本中 完整性?
- 是否还受苦 来自损坏的 NCB 文件和其他 性能/稳定性问题?
Two separate questions really, for those of you who have upgraded from 2008 to 2010:
- Does intellisense work much better
in this version in terms of
completeness? - Does it still suffer
from corrupted NCB files and other
performance/stability issues?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
IntelliSense 解析器针对 VS2010 进行了完全重写。 .ncb 文件已成为历史。现在它是一个 .sdf 文件,一个 SQL Server Compact 数据库。它在我的机器上运行得很好,我很少看到关于它的抱怨。值得注意的是,C++/CLI 语言由于重写而失去了 IntelliSense 支持。
The IntelliSense parser was completely rewritten for VS2010. The .ncb file is history. It's now a .sdf file, a SQL Server Compact dbase. It works very well on my machine, I have seen very few complaints about it. Notable is that the C++/CLI language has lost IntelliSense support due to the rewrite.
我对 2008 年和 2010 年开放的大型项目进行了并行测试(没有对项目进行任何操作,只是让它进行转换),差异非常大。在 2008 年,我会在编辑后看到长达 30 秒的错误建议(例如更改成员函数名称,旧名称仍然在下拉列表中),我会看到智能感知不可用,并且普遍无响应。在 2010 年,完全相同的步骤将导致更快的建议(即时而不是 7 秒),永远不会出现错误的建议,并且永远不会“不可用”,尽管有时可能需要一两秒钟才能出现,但它会出现并且无需我的干预。不得不再次询问。
我在 2010 年的 C++ 项目中还没有出现过智能感知丢失的情况。如果您是本地开发人员,您会很高兴。在 C++/CLI 中,您将进行盲输入 - 智能感知从此完全消失。
I have done side-by-side tests with large projects open in 2008 and 2010 (doing nothing to the project but letting it convert) and the difference is very large. In 2008, I would see the wrong suggestion for up to 30 seconds after editing (eg change a member function name, the old name is still in the dropdown), I would see intellisense unavailable, and general nonresponsiveness. In 2010 the exact same steps would result in much quicker suggestions (instant instead of 7 seconds), never a wrong suggestion ever, and never "unavailable" though sometimes it might take a second or two to come up, it comes up and without my having to ask again.
I have not had a loss of intellisense yet in a C++ project under 2010. If you're a native developer, you will be happy. In C++/CLI, you'll be typing blind - intellisense is completely gone from there.