Sign in to follow this  

MVC++ 2005 intellisense...

This topic is 3661 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Ive had problems with this before, but now everything stopped working. I can hover a variable to see its members and values during debug, that works fine. However, i cannot see a list of member-functions/member-variable when typing a class like mystuff-> //the popuplist is missing However, this works like 10% of the time, in different files and/or with same classes. I dont understand how this works and how to actually make it work. Plz dont just reply that intellisense is broken, i know that but in a previous project it worked much more often so there's gotta be some setting or something. i try rebuilding the solution, no luck there. Thanks for your help E

Share this post


Link to post
Share on other sites
Close VC++, go to the project's folder and delete the intellisense database file (.ncb) then open the project again. Intellisense will then rebuild the database and everything should work out fine. There is a section in the documentation for VC++ titled "troubleshooting intellisense" or something like that. Check it out if you still have problems.

Share this post


Link to post
Share on other sites
The IntelliSense in MSVC++ 2008 is a little better, but it's still not great. Don't expect miracles. Fact of the matter is that IntelliSense is almost always broken for all but the simplest of projects.

Share this post


Link to post
Share on other sites
C++ parsing is a pain. But clearly it is not an intractable problem; VAX's intellisense is generally excellent. Makes me wonder if Microsoft has ever approached Whole Tomato about acquision options.

Share this post


Link to post
Share on other sites
a fine plugin it seems. I have one problem though.

I have black background and it seems text that are being typed are , well black! And i cannot change it. Once i type something like int myFinalDestination; i cannot see it until i type that final ; making it a variable (then it turns into the the variable color which i can set).

Normal text is set in the original program to grey so thats not it.

E

Share this post


Link to post
Share on other sites
Here's a good tip: After you get Visual Assist, delete the ncb file and create a folder named the same as the file (projectname.ncb) in the same directory. You'll get a warning message when you open MsDev, but it'll stop intellisense from slowing everything down to an halt, especially on larger projects or when you perform certain operations.

Share this post


Link to post
Share on other sites
To function properly, Intellisense needs to know how to properly preprocess the C++ files. If it cannot, it won't be able to show you intellisense for .cpp files that it can't completely parse.

This always happens for makefile projects (you have to fill in the "NMake/Include Search Path" and "NMake/Preprocessor Definitions" fields in the project properties), but could also happen for other projects if you haven't given VS include paths that make sense, or if one of the #include paths is ambiguous, or if you're using #defines/#ifdefs that aren't defined cleanly so that VS knows how to use them.

Share this post


Link to post
Share on other sites
Post on the VAX forums, perhaps? There are some color options in the preferences panes, and probably some undocumented controls via config file hacks somewhere, but that's all I can tell you offhand. I no longer use VAX as Resharper beats it for C# features, and C# is all I really do.

Bu the VAX forums might have an answer if nobody here does.

Share this post


Link to post
Share on other sites

This topic is 3661 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this