winmerge
winmerge copied to clipboard
syntax highlighting nested comments - T-SQL / Microsoft SQL Server
The syntax highlighting of nested comments in SQL doesn't work like expected. I am not sure if that behavior is special for TSQL / Microsoft SQL Server. It might be different for other providers.
The following SQL file:
select 1
/* test1 /* test2 */ test3 */
select 2
is rendered and handled in Microsoft Management Studio as this:
However when comparing this file in WinMerge it looks wrong (the "test3" is not green but black - it should be green, because "test3" is still a comment in TSQL):
By the way: It looks like also Githubs Syntax highlighting struggles to display that properly.