Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change Sublime Python comments color specifically?

Tags:

I really liked the Monokai color theme, except for one thing - I can barely see the comments which are more than half the actual code text. Is there a way to change the color of the comments specifically but keep the rest according to monokai?

like image 521
user2705411 Avatar asked Sep 19 '15 12:09

user2705411


People also ask

How do you change the Colour of the comments in the sublime text?

Go to Preferences: Settings from the command palette. You now have to create a file with the exact same name and extension as the_color_scheme_name. sublime-color-scheme in the User directory.

How do I change the Color Scheme in Sublime Text 3?

Sublime Text 3 has a number of pre-installed themes that can be enabled by clicking on “Preferences” in the top bar, then clicking “Color Scheme”. Click on “Preferences” in the top bar, then click “Color Scheme”.

How do you change the color of comments in Pycharm?

Press Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | Language Defaults | Semantic highlighting. Select the Semantic highlighting checkbox and customize the color ranges if necessary.


1 Answers

Those are the steps:

  1. open the command palette in sublime text by typing: Ctrl+Shift+P

  2. type: control install package

  3. restart sublime text

  4. Reenter again into the command palette by typing the same thing again

  5. type prv and search for: PackageResourceViewer- Open resource

  6. Click on: Color Scheme - Default and choose Monokai.tmTheme

  7. When you enter the .xml file. go to line 54 I think (under the comment line) and change that value to whaterver you want

For me i use: #26E372 // is a green color For yellow color you can use: #FFFF00

If you want to know wich number to choose: you can go to this site to know: http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai

like image 97
Dschang123 Avatar answered Mar 16 '23 02:03

Dschang123