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
 code inspection not working as usual (vs2022)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

megaxbang
Starting Member

USA
1 Posts

Posted - Oct 07 2022 :  11:30:41 AM  Show Profile  Reply with Quote
os: windows 10
visual assist latest version and visual studio 2022

Here's the steps i did:
1. disabled visual studio intellisense to true
2. enable code inspection (beta)
3. restart
4. disabled/enabled visual assist several times

one thing is that c/c++ directory is set to custom and system header files but the listbox is somehow empty. is this the reason visual assist isnt working?

i'm stuck on it like hours now. pls help me fix it.

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Nov 14 2022 :  12:24:51 PM  Show Profile  Reply with Quote
Apologies for the slow reply.

Can you explain what is going wrong? Code Inspection does not produce listboxes, but it does show a list of code fixes, in the "VA Code Inspection Results" window, which can be shown via the menu command:

VAssistX -> Code Inspection (beta) -> VA Code Inspection Results

As a simple test to see if Code Inspection is picking anything up, can you try adding the following test function to a cpp file:

// three picked up here, shown by pale text, no underline
static void testRedundantChecks(void)
{
	for(int nScan = 1; nScan < 10; ++nScan)
	{
		continue;
	}

	return;
}

this should generate 3 results from Code Inspection, if it is working normally, and doesn't rely on understanding your header files.

zen is the art of being at one with the two'ness

Edited by - feline on Nov 14 2022 12:25:25 PM
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