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
 Add Include broken in 2511 and VS2022 17.8.6
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

KRG
Senior Member

USA
25 Posts

Posted - Jan 30 2024 :  11:35:59 PM  Show Profile  Reply with Quote
Installing the 2511 update broke the "Add Include" option. Reverting back to 2508 fixes the issue.

feline
Whole Tomato Software

United Kingdom
18658 Posts

Posted - Jan 31 2024 :  07:24:03 AM  Show Profile  Reply with Quote
Was Add Include never being offered? Was it adding the wrong include?

Were you seeing this with standard Windows headers? 3rd partly library headers? Headers in your own solution?

Add Include is working correctly for standard windows headers so far for me, using VS2022 and VA 2511.0

I am going to set up some more tests, to see what results I get, but initially, this is not obviously broken for me.

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

KRG
Senior Member

USA
25 Posts

Posted - Jan 31 2024 :  11:57:14 AM  Show Profile  Reply with Quote
The option was there except if you selected it, nothing happened.

Basically, it felt like the button did nothing. I tried clearing all the caches and rebuilding the VAX data.

It was for local headers directly within the solution. Navigation with alt-g still works for the type but the add include doesn't.

I am using intellisense as the source for VAX.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18658 Posts

Posted - Feb 01 2024 :  10:29:49 AM  Show Profile  Reply with Quote
So far I cannot reproduce the problem. If you can try updating to VA 2511 again, and see the problem again, I am more than happy to work with you to try and get to the bottom of this problem.

It could simply be that my test cases so far are to simple, or there was something odd about the specific case where you ran into this problem.

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

KRG
Senior Member

USA
25 Posts

Posted - Feb 01 2024 :  1:10:03 PM  Show Profile  Reply with Quote
I will try again at the end of my workday.

What set of steps would you like me to do to try to get you information on the issue?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18658 Posts

Posted - Feb 02 2024 :  07:59:22 AM  Show Profile  Reply with Quote
I have been expanding my test cases, and have found a problem. If I am using a class from a different project, in the same solution, Alt-G works, and Add Include in the Alt-Shift-Q menu suggests the correct header, but it isn't entered.

Does this match what you remember?

So far no problems with any of my tests where the symbol comes from the same project. I am putting together some more tests, to see if I can find any more details about this problem.

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

feline
Whole Tomato Software

United Kingdom
18658 Posts

Posted - Feb 02 2024 :  12:13:08 PM  Show Profile  Reply with Quote
Based on my results so far, this fails when Add Include would add a #include "" statement with a path. If there is no need for a path, or there is a path but you will get a #include <> statement then it works correctly.

case=164134

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

KRG
Senior Member

USA
25 Posts

Posted - Feb 02 2024 :  2:54:19 PM  Show Profile  Reply with Quote
yeh, this is the scenario, trying to include header from a different project in the same solution, the option is available but does nothing.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18658 Posts

Posted - Feb 05 2024 :  07:11:59 AM  Show Profile  Reply with Quote
Thank you for the update, good to know that I am seeing the same problem. I have put this in as a high priority bug report, since this is a regression.

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