Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Missing most functions in completion list

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

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

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
lex Posted - May 11 2023 : 6:06:30 PM
I get strange results from completion lists on basic types when using Visual Assist as the source content.
Here's an example:

Using Visual Assist as source

Using Default Intellisense

There are no compile errors in the project and and VA is not indexing anything that I'm aware of.

VA_X64.dll file version 10.9.2488.0 built 2023.04.25
DevEnv.exe version 17.5.33627.172 Community
msenv.dll version 17.0.33627.172
Comctl32.dll version 6.10.19041.1110
Windows 10 10.0 22H2 Build 19045.2846
8 processors (x86-64)
Language info: 1252, 0x409

Platform: Custom
Stable Includes:

Other Includes:

Stable Source Directories:

4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - May 15 2023 : 06:58:52 AM
Thank you for the update, I am glad that the VA symbol database rebuild fixed this. It suggests that something confused our parser. Hopefully this was a one off problem, but if this keeps on happening any clues you spot to help us understand where the trigger may lay would be most welcome.
lex Posted - May 14 2023 : 09:05:53 AM
It resolved itself after I did a Clear and Rebuild.
lex Posted - May 12 2023 : 3:11:25 PM
I think you're onto something. It only lists 14 members:

And the definition is located in an StdAfx.h file that's included with Visual Assist. The vector class is defined like this:
	template<class _Ty, class _A>
	class vector 
		typedef _Ty& reference;
		typedef const _Ty& const_reference;
		typedef _Ty* pointer;
		typedef const _Ty* const_pointer;
		typedef std::iterator<_Ty> iterator;
		typedef std::iterator<_Ty> const_iterator;
		typedef std::iterator<_Ty> reverse_iterator;
		typedef std::iterator<_Ty> const_reverse_iterator;

		iterator begin();
		iterator end();
		const_iterator cbegin() const;
		const_iterator cend() const;
		reverse_iterator rbegin();
		reverse_iterator rend();
		const_reverse_iterator rbegin() const;
		const_reverse_iterator rend() const;
feline Posted - May 12 2023 : 07:03:30 AM
That's rather confusing. If you place the keyboard caret into the type "std::vector", into the symbol vector, and use Alt-Shift-G for the Goto Related menu, then open the "Goto Member" option for the members of vector dialog.

Does VA list the expected members? I am wondering if somehow VA has become confused about the members of std::vector, which could explain what is going on here.

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