Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Incorrect suggestions with namespace osg

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
alaviolette Posted - Oct 06 2008 : 10:41:16 AM
When I have the sample code below in a basic C++ project and type Geometry:: I get a suggestion for _vertex and not Vertex. If I change the osg namespace to abc I correctly get Vertex. Does VA X do something special with the the osg namespace. I did not include osg in my test just the sample code.

namespace osg {
    class Geometry {
    public:
        double _vertex;
    };
};
namespace Geometry {
    class Vertex {
    public:
        double x,y;
    };

};


I have VS2005 and VA X 10.4.1640.0
2   L A T E S T    R E P L I E S    (Newest First)
alaviolette Posted - Oct 06 2008 : 3:54:10 PM
Yes that works. I did not realize I had an old version of Visual Assist installed.

Thanks.
accord Posted - Oct 06 2008 : 3:15:32 PM
I tried your example and I get the right completion listbox with "Vertex" in VS2005/VAX1649.

Could you please try to upgrade to the latest version to see if this helps?

http://www.wholetomato.com/downloads/getBuild.asp?1649

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000