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
 Navigate back/forward not working with JSON files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrT
Junior Member

United Kingdom
14 Posts

Posted - Mar 13 2018 :  06:25:04 AM  Show Profile  Reply with Quote
My C++ project uses JSON files for configuration, after editing a C++ file and then editing a JSON file, then pressing navigate backwards I am taken back to my C++ files as expected, pressing navigate forward should then take me back to my JSON file but does nothing.

I have other custom file types such as XGS and it works perfectly, but not with JSON files. Is this a known bug, an option I am missing somewhere, or just plain doesn't work with JSON files?

Edited by - MrT on Mar 13 2018 08:08:44 AM

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Mar 13 2018 :  07:54:28 AM  Show Profile  Reply with Quote
How are you navigating back and forward? Both VA and the IDE offer this feature, and they work slightly differently.

By default, VA navigate back and forward is bound to the keyboard shortcuts Alt+Left Arrow and Alt+Right Arrow
while the IDE back and forward is bound to the keyboard shortcuts Ctrl+- and Ctrl+Shift+-

Also, which IDE and version of VA are you using?

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

MrT
Junior Member

United Kingdom
14 Posts

Posted - Mar 13 2018 :  08:01:09 AM  Show Profile  Reply with Quote
If I use the built-in VS back and forward button it works fine, if I use the VA back and forward buttons (which I have added to the VA toolbar) the problem arises.

I am using VS 2017 Professional and VA_X.dll file version 10.9.2248.0 built 2017.12.16
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Mar 13 2018 :  11:11:05 AM  Show Profile  Reply with Quote
Thank you for the details, I am seeing exactly the same problem. I have no idea why, there doesn't seem to be any reason the .JSON file is being excluded. I have put in a bug report for this:

case=115059

For now the work around is to use the IDE navigate forward and back instead.

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

MrT
Junior Member

United Kingdom
14 Posts

Posted - Mar 13 2018 :  11:23:09 AM  Show Profile  Reply with Quote
Great, thanks, I look forward to the bug fix as I prefer using the VA navigate buttons as they work better than the built-in ones for me.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Mar 13 2018 :  3:43:53 PM  Show Profile  Reply with Quote
The other thought here is to use IDE bookmarks, they do work in JSON files. I would have suggested trying VA Hashtags, but the default standard for JSON does not support comments, so there is no where to search for them.

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