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:
![](https://forums.wholetomato.com/forum/uploaded/pemessier/2024321113656_foo1.png)
Using CTRL+J however shows the local variable in the list:
![](https://forums.wholetomato.com/forum/uploaded/pemessier/2024321113857_foo2.png)
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).
![](https://forums.wholetomato.com/forum/uploaded/pemessier/202432111467_foo3.png)
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. |
|
|