Solved - VS03: Context help has just a few problems

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Lordhp
Posts: 4
Joined: Sun Nov 06, 2005 6:33 pm
Location: Czech Republic

Solved - VS03: Context help has just a few problems

Post by Lordhp »

Hello,
I have found some problem, I did try search for solution but maybe I'm stupid or nowhere it was written. Uncle google didn;t help :P

Well, lets face the context help when using variables (like IrrlichtDevice]. In VS, when I write device-> context help appears. It is luxury.

But, when I have separated sources (don't know any bigger program what have not) in some case it does not work. Lets see

I have three files:
head.h
main.cpp
main2.cpp

Header file defines two variables, one in namespace, one global. Both have IrrlichtDevice* datatype.

In main.cpp, when I try use the broken variable (the one in NS) it does not work. Blah. But even the global variable does not work!

In main2.cpp, I try accessing the global variable first, and it works. Woo! Then I try access to NS one, and it works also!

Now, why? How to make this working (the context help). Does anyone encountered this problem ?

Thanks,
Pavel Ptacek
Last edited by Lordhp on Tue Nov 15, 2005 4:10 pm, edited 1 time in total.
The most interesting thing on programming is discovery...

of hot chocolate!
Lordhp
Posts: 4
Joined: Sun Nov 06, 2005 6:33 pm
Location: Czech Republic

Post by Lordhp »

Hmm, i see that there is a limitation about Intellisense.
MSDN wrote:IntelliSense Limitations
IntelliSense does not work in C++ projects under the following circumstances:
  • The cursor is inside a code comment.
  • You are writing a string literal.
  • A syntax error appears above the cursor.
  • IntelliSense is not fully supported under the following circumstances:
  • When you reference a header file multiple times using the #include directive, and the meaning of that header file changes due to various macro states (which are defined through the #define directive). In other words, when you include a header file several times whose usage changes under different macro states, IntelliSense will not always work.
I don't know if this is the problem even in VS03, I have upgrade to VS05 today after posting message.
The most interesting thing on programming is discovery...

of hot chocolate!
Post Reply