I’m having difficulty applying a custom color scheme to specific file types in Sublime Text 3, Build 3114. Currently one of these is working, where I’m applying the Twilight theme to JavaScript files. To do that, I’ve got a JavaScript.sublime-settings file with these contents:
{
“color_scheme”: “Packages/Color Scheme - Default/Twilight.tmTheme”
}
Since I’d like to apply a different scheme, VisualStudioDark, to C# files, I created a C#.sublime-settings file and added these contents:
{
“color_scheme”: “Themes/VisualStudioDark.tmTheme”
}
I’ve tried placing the VisualStudioDark.tmTheme file into the following directories, and adjusting the path above accordingly:
- Sublime Text 3\Packages
- Sublime Text 3\Themes
But I still get the following error message when attempting to open a C# (.cs) file in Sublime Text 3.
“Error loading colour scheme Themes/VisualStudioDark.tmTheme: Unable to open Themes/VisualStudioDark.tmTheme”.
I’m using Windows 8.1. How can I fix this so the custom theme will work? Thanks.