开发者

How can I make Sql Server Management Studio syntax highlight in the same colors as visual studio?

I have a custom color scheme for VS from studiostyle.info. How c开发者_如何学JAVAan I make ssms respect it so that my queries are nice and white on black.


I use this: http://winterdom.com/2007/10/colorschemesinsql2005managementstudio

You might need to modify it slightly depending on the version of VS and SMS you run. It works perfectly with VS2k10 and SQL SMS 2k8


Just import a style file from http://studiostyl.es ....

  1. Tool>Import and Export Settings>Import>next>yes>next>Browse
  2. Find your file.
  3. Select it in list.
  4. Hit next>finish.

And now you have a custom color scheme.

If you want to import your Visual Studio color scheme, do the same thing in VS but export only your text and fonts. You can then import them into SSMS just the same ways as above.

Hope this helps!


You can do it in SQL follow this guide How to: Change Font Color, Size, and Style


And for an old-skhool method if you are languishing back on 2008 R2 at a corporate client:

  • Tools
    • Options
    • Environment
      • Font and Colors
      • Text Editor

Here are my custom colo(u)rs for a Darcula style theme in SSMS:

Background: 43 43 43 or #2B2B2B Foreground: 169 183 198 #A9B7C6 Keyword: 204 120 50 #CC7832 Line Comment: 128 128 128 #808080 Sql String: 106 135 89 #6A8759

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜