问题
Possible Duplicate:
What are people replacing the missing C++/CLI Intellisense in VS 2010 with?
I downloaded and installed Visual C++ 2010 Express, today. To my shock and horror, a variable's dot was not followed with anything, an error at the bottom status bar reading:
"Intellisense: Unavailable for C++/CLI"
So... that being the case, is there an alternative to Intellisense that I can find and use? Other stackoverflow questions addressed the possibly broken nature of Intellisense. From what I've read, though:
- They suggest Visual Assist. Visual Assist's free trial, as I just downloaded, is not compatible with VC++ 2010 Express.
- They talk about manipulating Visual C++ itself somehow, usually through the deleting of a .ncb file. Do any of you know where this file is located? If so, that's one answer I'm hoping for -- maybe it'll fix intellisense!
Thanks! Of course, feel free to chime in with any other ideas!
回答1:
Yes, VS 2010 doesn't support C++/CLI Intellisense. The VS team promised it would come with an update, but I'm quite sure we won't see it. Too bad, C++/CLI is amazing for creating bridge classes between C++ and C#/VB/any other .NET managed laguage.
Visual Assist X indeed brings it back, but since VS Express editions don't support extensions, you have three options:
1) Live without Intellisense
2) Get VS Professional or better (if you are student, you can get it from MSDNAA for free)
3) Downgrade to Visual C++ 2008 Express
回答2:
Just use Visual Studio 2008.
It's a simple matter of which feature you find more important. Pick only one:
- Multiple monitor support
- Intellisense for C++/CLI projects
来源:https://stackoverflow.com/questions/4912675/visual-studio-c-cli-2010s-intellisense-doesnt-work-are-there-alternatives