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
 No suggestions shown in boost test cases
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pemessier
New Member

Canada
3 Posts

Posted - Mar 21 2024 :  11:46:48 AM  Show Profile  Reply with Quote
Hi,

We actually use VS 17.3.5 with VA 2451, but I can reproduce the problem with VS 17.10 preview + VA 2511. Using Default Intellisense as source provider.

Often, the suggestion as you type do not show the local variables within a BOOST_AUTO_TEST_CASE.

Consider the following example:



Using CTRL+J however shows the local variable in the list:



The only times that I can see the local variable in the list is to immediately rename it by hand (for some reason the VA Rename refactoring is not available in this case).



This problem is very similar to a lot of other threads discussed here (https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20525, https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20539, https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20584, https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20476, https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20410 ) but none of those mentioned so far the problem when using Boost test framework.

feline
Whole Tomato Software

United Kingdom
19039 Posts

Posted - Mar 21 2024 :  1:19:57 PM  Show Profile  Reply with Quote
Can you please try setting VA to parse macros more deeply, as is explained here:

https://support.wholetomato.com/default.asp?W363

Please make sure you close all instances of Visual Studio before editing the registry key though, since VA saves out its current settings on exit, so will overwrite your edit. A report of a similar problem came up quite a while ago, with the Boost test macros, and this was the fix, so it is a good place to start.

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