2

I don't know if I have done anything wrong, but when I try to write code there are no intellisense popups indicating options or errors. I am creating a CLR/CLI type of project with Microsoft's Visual C++ 2010.

sean e
  • 11,792
  • 3
  • 44
  • 56
robblot
  • 395
  • 2
  • 5
  • 15
  • dupe of http://stackoverflow.com/questions/2681999/no-intellisense-for-c-cli-in-visual-studio-2010 and http://stackoverflow.com/questions/2864022/intellisense-for-clr-projects-no-intellisense-for-e-g-system-windows-forms – sean e Jun 01 '10 at 01:25
  • Oh, It says IntelliSence: 'Unavailable for CLR/CLI'. Thanks. – robblot Jun 01 '10 at 01:53

2 Answers2

4

See the 2nd comment, in this blog post from May 2009: http://blogs.msdn.com/b/vcblog/archive/2009/05/27/rebuilding-intellisense.aspx

excerpt:

As part of this re-architecture, we had to make the difficult decision to reduce the scope to native C++ only for Intellisense. We still index symbols coming from C++/CLI code and you can browse them with Class View etc...

The wording is a little opaque, but I think the meaning is: there is no intellisense in C++/CLI projects in VS2010.

Cheeso
  • 189,189
  • 101
  • 473
  • 713
  • 1
    +1 for the link but that is in WTF territory for those of us poor souls stuck with enormous C++/CLI source trees :( – James McNellis Jun 01 '10 at 04:26
  • @JamesMcNellis: Agreed. I am starting a new job next week and they want to write the low level hardware interfaces in CLI so that they can be easily called into from C#. No intellisense makes me a sad panda... – Ed S. Jan 06 '13 at 03:45
  • @EdS.: Visual Studio 2012 has IntelliSense for C++/CLI. – James McNellis Jan 06 '13 at 07:27
  • @JamesMcNellis: That's very good to hear; I'll be using 2012 at the new job. Thanks. – Ed S. Jan 06 '13 at 07:43
1

You're not doing anything wrong, Intellisense is not supported in Managed C++ (C++/CLI).

There is a long blog post explaining the details at the Visual C++ blog.

Edit: Correcting name of the blog as per comment. :)

bara
  • 374
  • 2
  • 8
  • Minor nit - that's the Visual C++ Team Blog, not the [Visual Studio blog](http://blogs.msdn.com/b/visualstudio/), which is actually just the visual studio platform blog anyways :) – Noah Richards Jun 01 '10 at 03:11