File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/VisualStudio/Core/Def/Implementation/ColorSchemes Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,14 @@ public void Initialize()
8080
8181 VSColorTheme . ThemeChanged += VSColorTheme_ThemeChanged ;
8282
83- QueueColorSchemeUpdate ( themeChanged : true ) ;
83+ // Since the Roslyn colors are now defined in the Roslyn repo and no longer applied by the VS pkgdef built from EditorColors.xml,
84+ // We attempt to apply a color scheme when the Roslyn package is loaded. This is our chance to update the configuration registry
85+ // with the Roslyn colors before they are seen by the user. This is important because the MEF exported Roslyn classification
86+ // colors are only applicable to the Blue and Light VS themes.
87+
88+ // When we update the colors we also flag that this is potentially a theme change, as settings could have synced over from a
89+ // different VS instance and we may need to perform additional work to default colors that match our scheme.
90+ UpdateColorScheme ( themeChanged : true ) ;
8491 }
8592 }
8693
You can’t perform that action at this time.
0 commit comments