Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 No suggestions shown in boost test cases

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
pemessier Posted - Mar 21 2024 : 11:46:48 AM
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.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Mar 21 2024 : 1:19:57 PM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000