You must be registered to post a reply. Click here to register.
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).
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.