Is it possible to edit the list of keywords to highlight?
In SSMS when you do "SELECT * FROM mytable", the SELECT and FROM are highlighted in blue. I would like to highlight the keyword "INCLUDE" when creating an index.
asked Oct 21, 2010 at 10:55 PM in Default
Henrik Staun Poulsen
Henrik - this is an SSMS inconsistancy fail. The same problem occurs when using the keyword "DATA_COMPRESSION" for index creation. Microsoft forgot to add a few words to the highlighting dictionary (or whatever it is called).
If you really want it to be highlighted, you will have to:
answered Oct 21, 2010 at 11:51 PM
SQL Server is listing INCLUDE as an Identifier not a Keyword.So changing the font options will do the job, but the problem is that table names and column names are also identifiers, so doing same will change the Table names color and Column name color also...
I never attempted it before until i saw this post
Go to Tools -> Options -> Under environment on the left panel -> fonts & Colors -> Display Items