Hi Cory,

How do you make Visual Studio provide intellisense for OSG based apps? I'm running through the tutorials now and it would be helpful to get parameter info for the OSG API. I still have the OpenSceneGraph.ncb file that was generated when I built OSG and I presume that VS needs this file, but I'm not sure where to put it or how to configure my environment for this.

I never had any trouble getting intellisense for OSG.

I guess the one possible stumbling point I can think of might be that VS by default will not consider extensionless headers as headers at all, so it might not be extracting the class and parameter info from the OSG classes since they're in the extensionless headers. If you haven't already, you can tell VS to treat extensionless files as C++ by going to Tools - Options, then expanding the Text Editor section and selecting File Extension, and then enabling "Map Extensionless Files to" at the bottom and selecting Microsoft Visual C++ from the drop-down list.

Perhaps you'll have to close and restart VS, or recompile OSG, or do some kind of voodoo to make it take effect (intellisense is always kind of a mystery) but it should eventually work. If not, then I'm out of ideas.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to