Changing Monokai color scheme in Sublime Text
I understand this is an old question; However:
If you highlight the bracket and press:
ctrl + shift + alt + p (for Windows / Linux), or
^ + ⇧ + P (for OSX)
The scope of the bracket will be displayed on the status bar at the bottom of the screen. An example of this: if I highlight self
in Python and use this command, the appropriate scope variable.language.python
. It's at the bottom of the reach list.
ie: -> scope.python variable.language.python
Take the last item.
Here you can use the Package Resource Viewer to open the Monokai.tmTheme file located under Color Scheme - Default and modify it as follows:
<dict>
<key>name</key>
<string>Call it something</string> <!-- USE YOUR NAME -->
<key>scope</key>
<string>variable.language.python</string> <!-- USE YOUR SCOPE -->
<key>settings>/key>
<dict>
<key>foreground</key>
<string>#000000</string> <!- PROVIDE HEX RGB COLOR -->
</dict>
</dict>
Save the .tmTheme file and the curly braces should now be changed to match the selected color.
Literature:
How can I change the default code snippets in Sublime Text 3?
source to share