Intellisense in header files
Posted
by David
on Stack Overflow
See other posts from Stack Overflow
or by David
Published on 2010-03-16T16:59:02Z
Indexed on
2010/03/16
17:01 UTC
Read the original article
Hit count: 499
I just right now "migrated" from C# to C++/CLR. First I was annoyed, that I had to write all class' declarations twice (into .h and .cpp). Then I figured out, that I could place the code also into the h-files - it compiles at least. Well, I deleted all cpp's of my classes and now I realized, VS won't give me any Intellisense when I work on my h-files.
I guess I should not place my code in the hfiles (the code won't be reused in other projects for sure), but I find it terrible to adjust all method declarations at two places... Plus I have to switch back and forth to see what modifier my method etc. and it is not nicely all in one place like in C# (with it's pros and cons).
I'm sorry this is a newbie question, but I just wanted to make sure that there isn't any possibility to enable intellisense for hfiles. Or at least to learn, that I am completely on the wrong path...
Thanks, David
© Stack Overflow or respective owner