Sublime Text 3 Change syntax color?

I recently installed Sublime 3, and it is a really neat program, but I could not learn how to change the syntax colors (e.g. block comments, etc.).

I opened Default.sublime-package in Notepad ++ and I found the Monokai section (the color scheme you use), but even if I change the colors for comments or even the background when I open Sublime 3, the colors are not what I changed them. I looked at similar issues in Stack Overflow, but the solutions did not work, and I also could not find anything on Google.

How to change syntax, background, etc. in Sublime 3?

+6
source share
1 answer

Use Sublime Themes. Monokai is the default theme. You can download any topic that interests you (for example, from this site: http://devthemez.com/themes/sublime-text-2 ) and install it. Sublime Text 2 themes mostly work for version 3.

First install Package Control . Instructions: https://sublime.wbond.net/installation . It's simple:

  • press Ctrl + `
  • insert a line and press Enter .

Then clone the repository with the theme you need (you need to install some version control system, usually Git). In terminal:

  • Linux: cd ~ / .config / sublime-text-3 / Packages
  • Mac: cd ~ / Library / Application Support / High Text 3 / Packages
  • Windows: cd% appdata% \ Sublime Text 3 \ Packages

If the repository is on GitHub, use git: (example with the Argonaut theme from devthemez.com, link below)

 git clone git://github.com/pwaleczek/Argonaut.git 'Theme - Argonaut' 

Then the last step: In Sublime, open "Settings" → "Settings-User" and insert the appropriate code provided by the theme developer: (again, an example for the Argonaut theme)

 { "theme": "Argonaut.sublime-theme", "color_scheme": "Packages/Theme - Argonaut/Argonaut.tmTheme" } 

Examples were for the Argonaut theme: https://github.com/pwaleczek/Argonaut (this page also contains some instructions for installation).

+3
source

All Articles