Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IntelliSense won't find some functions

1 view
Skip to first unread message

Dave Cullen

unread,
Dec 31, 2009, 9:49:33 AM12/31/09
to
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


David Lowndes

unread,
Dec 31, 2009, 10:14:57 AM12/31/09
to
>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

Dave Cullen

unread,
Dec 31, 2009, 10:58:17 AM12/31/09
to
They are visible in the Solution Explorer window, so yes.

Dave

"David Lowndes" <Dav...@example.invalid> wrote in message
news:nsfpj5l28klt02v2m...@4ax.com...

David Lowndes

unread,
Jan 1, 2010, 5:36:54 AM1/1/10
to
>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

0 new messages