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
 VA 2500: /* */ comments in C# not colored out
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Sep 26 2023 :  11:56:36 AM  Show Profile  Reply with Quote
Just figured out that for some weird reason, when I comment this part out with C-Style comments, the coloring persists. At least until I close and reopen the file.



VS2022 17.7.4

feline
Whole Tomato Software

United Kingdom
19014 Posts

Posted - Sep 27 2023 :  08:13:58 AM  Show Profile  Reply with Quote
That's really odd. I am getting the same effect here, VS2022 version 17.7.4, on a machine where VA has never been installed. It seems to happen when working in C# with lambda's, or Linq, depending on what this is being called.

In more basic C# code adding a comment causes the colouring to update immediately, but with Lambda's the comment colour gets applied only partly until the file is reopened. At a guess, Lambda's are considered "hard" to colour, but that's just a guess.

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