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
 Open solution as folder / CMake files out of synch
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

swinefeaster
Tomato Guru

310 Posts

Posted - May 17 2021 :  10:53:03 PM  Show Profile  Reply with Quote
Hi i'm using vs2019 16.9.5 with cmake and opening a solution as a folder, and with git. Whenever I switch branches or revert changes, VAX doesnt pick up the file renames and I need to clear it symbol db and cache and restart VS to get it to see the list of files in the solution correctly.

is this a known issue?

VA_X.dll file version 10.9.2399.0 built 2021.01.26
DevEnv.exe version 16.9.31229.75 Enterprise
msenv.dll version 16.0.31227.257
Comctl32.dll version 6.10.19041.844
Windows 10 10.0 2009 Build 19042.985
40 processors (x86-64, WOW64)
Language info: 1252, 0x409

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - May 18 2021 :  05:02:51 AM  Show Profile  Reply with Quote
When you say switch branches, do you mean switching git branches?

If so, are you doing this within Visual Studio, using some form of git integration, or are you using git outside of the IDE to switch branches?

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

swinefeaster
Tomato Guru

310 Posts

Posted - May 18 2021 :  11:05:26 AM  Show Profile  Reply with Quote
Hi feline, thanks for the quick reply. I'm switching git branches using the command line in a console window.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - May 19 2021 :  07:38:00 AM  Show Profile  Reply with Quote
Thank you. There will be a short delay while I teach myself basic git

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

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - May 21 2021 :  1:24:03 PM  Show Profile  Reply with Quote
It turns out that this has actually come up before:

case=116692

VA should handle switching git branches if the switch is triggered inside the IDE, via git integration, but obviously since you are doing this outside of the IDE, VA does not get a notification from the IDE about this. The command:

VAssistX -> Tools -> Reload Solution

was added to help work around cases where the change is not picked up by VA.

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

swinefeaster
Tomato Guru

310 Posts

Posted - May 25 2021 :  01:51:55 AM  Show Profile  Reply with Quote
thanks! any idea if it'll get fixed soon?
can you ping this thread if it does?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - May 25 2021 :  06:38:19 AM  Show Profile  Reply with Quote
Unfortunately I don't currently have an estimate for when this will be fixed. The reload solution command was added as a work around, since from the "outside" it is not clear how the IDE is picking up the git branch switch, and without knowing how the IDE is doing it, tracking that change is hard. So the case is still open, for when we are able to pin down what is happening here.

This thread should be updated when this is fixed, and we also list the changes in the release notes, if you are interested in checking what has changed in a new build.

https://www.wholetomato.com/features/whats-new

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

Edited by - feline on May 25 2021 06:39:37 AM
Go to Top of Page

swinefeaster
Tomato Guru

310 Posts

Posted - Aug 05 2021 :  7:18:30 PM  Show Profile  Reply with Quote
any update on this? :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Aug 06 2021 :  05:56:27 AM  Show Profile  Reply with Quote
Unfortunately no progress yet on this. A lot of our current focus is on Visual Studio 2022. Plus the IDE isn't making it super easy to track this.

If you are running into this a lot you might want to map a keyboard shortcut to the command:

VAssistX.ReloadSolution

to make it a bit easier / quicker to trigger the VA reload solution command.

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