Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Missing most functions in completion list
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lex
Senior Member

40 Posts

Posted - May 11 2023 :  6:06:30 PM  Show Profile  Reply with Quote
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:
C:\VulkanSDK\1.3.243.0\Include\Volk;
C:\VulkanSDK\1.3.243.0\Include\vulkan;

Other Includes:

Stable Source Directories:

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 12 2023 :  07:03:30 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

lex
Senior Member

40 Posts

Posted - May 12 2023 :  3:11:25 PM  Show Profile  Reply with Quote
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 
	{
	public:
		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;
	};
Go to Top of Page

lex
Senior Member

40 Posts

Posted - May 14 2023 :  09:05:53 AM  Show Profile  Reply with Quote
It resolved itself after I did a Clear and Rebuild.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - May 15 2023 :  06:58:52 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000