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
 Semicolon highlighting in VS 2022 Preview
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

g0blue
New Member

USA
4 Posts

Posted - Oct 19 2021 :  6:27:53 PM  Show Profile  Reply with Quote
I have a weird issue when using VAX in VS 2022 Preview (currently 6.0, started in 3.0). I have PerfWatson2 disabled to allow VAX to work.

When using the MSVC quickfind feature (Ctrl-F / F3) or next item (F4) keys to skip through a search (or other) list, all of the semicolons in my source file are highlighted. Pressing Esc a couple times will disable the highlighting.

Normally this would just be somewhat annoying, but I also use another extension to enable VIM keybindings. The VIM keybindings hijack the Esc key and so the semicolons remain permanently highlighted. That elevates this bug to super annoying. :)





I've verified that disabling VAX causes the highlighting issue to go away.


-dan

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Oct 20 2021 :  06:46:22 AM  Show Profile  Reply with Quote
Can you please try turning off:

VA Options -> Highlighting -> Highlight write and read references to symbol under cursor
VA Options -> Highlighting -> Highlight matching words when caret is in comments and strings

if this fixes this problem, can you try turning one on and one off, so we can see which of these is the trigger?

In your screen shot the symbol you are doing a find on is ending on the semi-colon, so if the keyboard caret is being placed at the end of the symbol then it will be placed next to the semi-colon. So to test this here I have tried the simple test code:

void testingHighlightSymbolAtEnd()
{
	short pfnLoadTile;
	pfnLoadTile = 1;
	pfnLoadTile += pfnLoadTile;
	pfnLoadTile *= pfnLoadTile;
	pfnLoadTile += pfnLoadTile;
}

so far though no sign of the problem here.

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

g0blue
New Member

USA
4 Posts

Posted - Oct 26 2021 :  4:33:09 PM  Show Profile  Reply with Quote
Neither of those options were enabled to begin with. However, I did find the problem setting! It turns out that this happens when "Highlight results of Quick Find and Find in Files" is enabled. Disabling that fixed the semicolon issue.


-dan
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Oct 27 2021 :  07:06:24 AM  Show Profile  Reply with Quote
Odd, I have just checked, and I already have this setting turned On here, and I cannot reproduce this effect.

Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

I can then import them here and see if I can reproduce the problem. Please send me the files via email:

[email protected]

including this thread ID or URL in the description, so we can match it up.

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

g0blue
New Member

USA
4 Posts

Posted - Oct 27 2021 :  12:10:59 PM  Show Profile  Reply with Quote
Files sent.


-dan
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Oct 28 2021 :  09:54:21 AM  Show Profile  Reply with Quote
I have the files, thank you for these:

case=146361

So far though no sign of any problems here. I have replied via email, since it is a bit easier for attaching images.

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

g0blue
New Member

USA
4 Posts

Posted - Oct 29 2021 :  2:07:51 PM  Show Profile  Reply with Quote
Update for the public:

After a few tests I've determined that this only happens on 1 of my 2 test systems. The highlighting bug only happens on a machine running Windows DEV Insider builds (currently 22489). My Windows 10 (21H1) machine does not exhibit this problem. Given there there is a workaround (disable "Highlight results of Quick Find and Find in Files"), I'm no longer asking Whole Tomato to investigate this issue.


-dan
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