如何使旧的配色方案与Visual Studio 2015兼容?

sla*_*rIQ 18 syntax-highlighting visual-studio-2015

在VS 2013中,我使用了Selenitic配色方案.在VS 2015中导入它时,我看到了一些差异.

VS 2013:
Visual Studio 2013的屏幕截图

VS 2015:
Visual Studio 2015的屏幕截图

有一些差异(界面颜色,XML评论颜色),最令我烦恼的是2013年的XML评论很好地着色,并且在2015年它们都是相同的颜色.我还注意到xml注释使用了不同的颜色.我喜欢2013年的语法突出显示,XML注释更精细.有没有办法解决这个问题?

小智 4

我发现 .vssetting 文件中的某些元素名称已更改。因此,您需要将它们重命名为新名称才能正确导入。这是迄今为止我发现的已更改名称的列表。

Old Name                                     ->  New Name
---------------------------------------------------------------------------------------------
Brace Matching (Rectangle)                   ->  brace matching
String(C# @ Verbatim)                        ->  string - verbatim
User Types                                   ->  class name
User Types(Enums)                            ->  enum name
User Types(Interfaces)                       ->  interface name
User Types(Delegates)                        ->  delegate name
User Types(Value types)                      ->  struct name
Line Numbers                                 ->  Line Number
Razor Code                                   ->  RazorCode
XML Doc Comment                              ->  xml doc comment - text
XML Doc Tag                                  ->  xml doc comment - delimiter
                                                 xml doc comment - name
MarkerFormatDefinition/HighlightedReference  ->  MarkerFormatDefinition/HighlightedReference
                                                 MarkerFormatDefinition/HighlightedDefinition
Run Code Online (Sandbox Code Playgroud)

我相信这还不是全部,但至少它包括了你所展示的缺失的颜色。