Ruby Blue style and syntax highlighting
-
I am sensitive to bright light and have to change my theme/style to a darker one. I typically choose Ruby Blue. I noticed that JSON syntax highlighting will not show. The default will work, but Ruby Blue doesn’t show JSON in the style configuration window. How can I add it or other languages that may not show up in Ruby Blue? What files do I need to look at to get a rough start on copying and editing the style? Also on a side note is there a way to have the program itself in a “dark mode” like in Windows 10 if enabled? Thank you for your time.
-
welcome to the notepad++ community, @megamanzteam
the default styler is located at:
%AppData%\Notepad++\stylers.xml
.
your theme is located at%AppData%\Notepad++\themes\Ruby Blue.xml
.
(installed versions of notepad++)you can open up both files in notepad++ to copy and customise all required missing parts from stylers.xml to Ruby Blue.xml.
best regards
-
Oh, good, @Meta-Chuh left part of the query unanswered. 😉 (I was about 2/3 done with my reply when his answer posted. he said it better and more efficiently than I was writing…)
@megamanzteam said:
Also on a side note is there a way to have the program itself in a “dark mode” like in Windows 10 if enabled?
Unfortunately, at this time, there is no option for manipulating Notepad++ app’s color scheme, just the editor windows. Sorry.
-
sorry, my bad.
i didn’t see you typing at the topic. i did look as always, but i didn’t see your avatar today.
but if you haven’t deleted the other 2/3rds yet, better post them, as my reply might be a bit too short. -
@Meta-Chuh said:
you can open up both files in notepad++ to copy and customise all required missing parts from stylers.xml to Ruby Blue.xml.
@megamanzteam : For the changes that @Meta-Chuh recommended to take effect, you have to save the
Ruby Blue.xml
, then exit all instances of Notepad++ and reload Notepad++. You might find it easier, after you’ve copied the JSON section fromstylers.xml
intoRuby Blue.xml
to immediately save-and-exit. Once you’re back into Notepad++, Settings > Style Configurator should list JSON again, and you can tweak the JSON colors to your heart’s content.