Bug #105434 End of line comments are not colored properly
Submitted: 2 Nov 2021 23:25 Modified: 18 Nov 2021 12:16
Reporter: Kevin Hollingshead Email Updates:
Status: Verified Impact on me:
Category:MySQL Visual Studio Integration Severity:S3 (Non-critical)
Version:1.2.9 OS:Windows (Windows 10 under Parallels on Mac)
Assigned to: CPU Architecture:Any
Tags: End of Line Comments, MySQL Text Editor, syntax highlighting

[2 Nov 2021 23:25] Kevin Hollingshead
Using Visual Studio Community 2019 v16.11.5, Theme = Blue

Type an end-of-line comment, e.g. "-- some comment".
Expected: Comment should be highlighted green.
Actual: Comment is black

Note: block comments are correctly highlighted green, e.g. "/* some comment */ is highlighted green.

How to repeat:
Open any file with .mysql extension and type an end-of-line comment. Note that the comment text is black.

Suggested fix:
Make the highlight color green.
[2 Nov 2021 23:42] Kevin Hollingshead
I just tried all 4 different editor themes (Tools -> Options -> Environment -> General). The end-of-line comment is not highlighted in Blue (as noted in the original), Blue (Extra Contrast) and Light. Dark them is a bit of a mess and could use some attention while you're in the code (black on black, dark blue on black, etc).
[18 Nov 2021 12:16] MySQL Verification Team
Hello Kevin Hollingshead,

Thank you for the bug report.
Verified as described.

Ashwini Patil