Create Visual Studio Theme Specific Syntax Highlighting

后端 未结 4 934
独厮守ぢ
独厮守ぢ 2021-01-04 15:56

I would like to create a Syntax Highlighter in Visual Studio 2012 (and above) that supports different themes (Dark, Light, Blue).

V

4条回答
  •  轮回少年
    2021-01-04 16:53

    This might help you, code from F# Power Tools, seems to be listening to the ThemeChanged event and updating the classifiers - https://github.com/fsprojects/VisualFSharpPowerTools/blob/a7d7aa9dd3d2a90f21c6947867ac7d7163b9f99a/src/FSharpVSPowerTools/SyntaxConstructClassifierProvider.cs

提交回复
热议问题