IntelliSense won't find some functions

  • Thread starter Thread starter Dave Cullen
  • Start date Start date
D

Dave Cullen

Using VS 2005 C++ if I right click on a function name in the main code and
select "Go To Definition" it will take me to the header file declaration
instead of to the function in the cpp file. It behaves exactly as if I had
clicked "Go To Declaration". This only happens with functions in two of my
source files, the others work fine.

I've deleted the IntelliSense files and rebuilt the project to no avail. The
only common element I can think of is that when the project was first
created those cpp's were located in the project directory and I have since
moved them to a common source directory. AFAIK all references to the old
location should be gone.

While inside the cpp I can still get to functions via the pulldown list, but
from elsewhere in the project it always brings me to the header file.

Any ideas?

Thanks
drc
 
Using VS 2005 C++ if I right click on a function name in the main code and
select "Go To Definition" it will take me to the header file declaration
instead of to the function in the cpp file. It behaves exactly as if I had
clicked "Go To Declaration". This only happens with functions in two of my
source files, the others work fine.

Are those source files in the project files collection?

Dave
 
They are visible in the Solution Explorer window, so yes.

I'm not sure what the issue is then. If you've already tried closing
the solution and deleting the ncb file, I'm out of suggestions.

Dave
 
Hi Dave,

I too getting these type of un-intellisense issue, where both "go to definition" and "go to declaration" always bring me to the function declaration in header file.

Have you found a solution to the issue yet?

Bob
 
Back
Top