VS2005 SQL syntax highlighting is wrong for nested comments?
I am working with VS2005 and SSMS 2005.
SQL Server allows nested comments as follows:
/* Comment 1
/* Comment 2 */
Some commented out code here
*/
This code works fine. However, if you put this in a .sql file in VS2005, it incorrectly shows the commented code as "active" (its not green). It seems like StackOverflow has highlighted the code in the same way.
Is this a bug in VS2005? Or does SSMS handle nested comments differently compared to ANSI SQL standards?
Can someone please clarify this inconsistency and if it turns out to be an error if there is a way to fix the syntax highlighting?
+2
a source to share