intellisense in visual C++ .Net 2005

D

dk60

I am using visual C++ .NET 2005 for programming in C++. despite the
fact that my project contains a VC++ intellisense database,
intellisense does not work. What could go wrong. IN the same
framework, if I program in C# intellisense works just fine.
Thanks
 
D

David Lowndes

I am using visual C++ .NET 2005 for programming in C++. despite the
fact that my project contains a VC++ intellisense database,
intellisense does not work. What could go wrong. IN the same
framework, if I program in C# intellisense works just fine.

Try closing the solution and deleting the .NCB file, then re-open the
solution (which will rebuild the .ncb file). That sometimes resolves
the situation.

Dave
 
D

dk60

Try closing the solution and deleting the .NCB file, then re-open the
solution (which will rebuild the .ncb file). That sometimes resolves
the situation.

Dave

Thanks, Dave, but it does not work.
Any other idea?
thanks
Dan
 
D

David Lowndes

Thanks, Dave, but it does not work.
Any other idea?

Dan,

Does the VC++ Intellisense work for you in a clean project (created
with the Wizard)?

Assuming it does (it should), check that your current project has all
the relevant source and header files added to the solution.

Does Intellisense not work in any of your source modules, or just some
(and maybe in some places)? If it's the latter, there may be some
lines of code that the Intellisense can't make sense of.

Dave
 
D

dk60

Dan,

Does the VC++ Intellisense work for you in a clean project (created
with the Wizard)?

Assuming it does (it should), check that your current project has all
the relevant source and header files added to the solution.

Does Intellisense not work in any of your source modules, or just some
(and maybe in some places)? If it's the latter, there may be some
lines of code that the Intellisense can't make sense of.

Dave

No, it does not work for a clean project either.
As I said, it works for C# but not for C++.
Can you try and see if it works in C++ for you?
Is it possible that it is not supposed top work for C++?
Then, what is the ncb file for?

Thanks

Dan
 
R

RFOG

dk60 said:
No, it does not work for a clean project either.
As I said, it works for C# but not for C++.
Can you try and see if it works in C++ for you?
Is it possible that it is not supposed top work for C++?
Then, what is the ncb file for?

Thanks

Dan

IntelliSense does NOT work in C++ and C++/CLI, and when it works, it works
very slowly.

If you program like me, IntelliSense is not a help for develop. I think and
build in my mind a block of code, then I write it at a typist speed, then
IntelliSense cannot react when I press -> and Ctrl-J because it is parsing
files. If you type objet, then waits some seconds, and then type ->(or just
..), *sometimes* it works. Sometimes IntelliSense is not capable to
understand some complex and hierarchical classes and sometimes it simply
does not work and, of course, it does not works at same speed as C#.
--
Visita mi blog principal: http://rfog.blogsome.com
Y este sobre programación: http://geeks.ms/blogs/rfog
Libros, ciencia ficción y programación
========================================
En la vida real, el que no se rinde es todo un valiente.
-- Paul Mc Cartney.
 
D

David Lowndes

No, it does not work for a clean project either.

Dan,

As I said before, it should work. Have you disabled it? Check the
Tools, Options, C/C++, General, Statement completion settings. Have a
look at the MSDN topic titled "When IntelliSense Is Unavailable".

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top