• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Different color for specific comments?

In SQL Server 2008, is there a way to apply different colored comments depending on what you start the comment with?

For example:


can be red while any other comments are the default green.
  • 2
3 Solutions
Not that I've ever seen or heard of sorry
I often use
-- ******************************
If I need something to stand out more than other comments
Have a look at: http://msdn.microsoft.com/en-us/library/ms173754.aspx
Have not tried the distinctions you are looking for such that I can not say whether what you want can be achieved.
And from that link....
"The settings for text color and font type are global for all text element types, such as comments, strings, and so on."

So I'm not sure how you could have multi coloured comments
brettrAuthor Commented:
Thanks for the confirmations.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now