The fastest way would be to download and install Spyder 2.2.0 - Beta2, as it's already implemented there. What version of Spyder are you running now?
The hard way follows. The [color_schemes] section will be in the .spyder.ini, around line 322. On windows, the file is located in c:\users\<*your username here*>\.spyder2\ , which is a hidden folder. Before you edit .spyder.ini, close Spyder itself. Open .spyder.ini, and look for [color_schemes]. Below that you will see something like this: > names = [u'Custom', u'Emacs', u'IDLE', u'Pydev', u'Scintilla', u'Spyder'] > scintilla/background = '#ffffff' > scintilla/currentline = '#eeffdd' > scintilla/occurence = '#ffff99' > scintilla/ctrlclick = '#0000ff' > scintilla/sideareas = '#efefef' > scintilla/matched_p = '#99ff99' > . . . > where it says names = , add u'SpyderDark' to the list, so it looks like this: names = [u'Custom', u'Emacs', u'IDLE', u'Pydev', u'Scintilla', u'Spyder'*, * *u'SpyderDark'*] then just below that, on new lines, paste in the color codes from my prior post. On Tuesday, February 5, 2013 8:17:50 AM UTC-8, [email protected] wrote: > > I am unable to change my spyder color theme, following your instructions. > > 1) there is no such menu > Tools > Preferences > Editor > Display > Syntax color scheme > > 2) there is no color_schemes section in my ~/.spyder/.spyder.ini > > 3) I have downloaded the syntaxhighlighters.py, but what should I do next? > > would you please be so kind and explain the necessary steps, so that also > a person who is not a spyder developer can do it > > many thanks, > > Konrad > > On Wednesday, January 2, 2013 10:28:33 PM UTC+1, Pierre Raybaut wrote: >> >> Thanks for this contribution. >> I've just added this theme to the hard-coded color schemes: >> >> http://code.google.com/p/spyderlib/source/detail?r=ed28e6397a3ab0249c9e384b6e5eb4709cceb8a0 >> >> >> Cheers, >> -Pierre >> >> 2012/12/12 Paul Thompson <[email protected]>: >> > This is the scheme I use, the colors are fairly close to the light >> spyder >> > layout. >> > >> > Add to the color_schemes section in you ~\.spyder2\.spyder,ini file >> > >> > [..., u'SpyderDark'] >> > spyderdark/background = u'#131926' >> > spyderdark/currentline = u'#2b2b43' >> > spyderdark/occurence = u'#abab67' >> > spyderdark/ctrlclick = u'#0000ff' >> > spyderdark/sideareas = u'#282828' >> > spyderdark/matched_p = u'#009800' >> > spyderdark/unmatched_p = u'#c80000' >> > spyderdark/normal = (u'#ffffff', False, False) >> > spyderdark/keyword = (u'#558eff', False, False) >> > spyderdark/builtin = (u'#aa00aa', False, False) >> > spyderdark/definition = (u'#ffffff', True, False) >> > spyderdark/comment = (u'#7f7f7f', False, False) >> > spyderdark/string = (u'#11a642', False, True) >> > spyderdark/number = (u'#c80000', False, False) >> > spyderdark/instance = (u'#be5f00', False, True) >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "spyder" group. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msg/spyderlib/-/Z757syZgIXQJ. >> > To post to this group, send email to [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]. >> > For more options, visit this group at >> > http://groups.google.com/group/spyderlib?hl=en. >> > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
