Visual Studio Dark Theme for Processing
A Dark Theme for Processing that mimics the Visual Studio Dark Theme.
Thanks to Jeff Thompson for doing most of the hard work!
Screenshot
How to install
There are only 2 steps in order to install this theme, but these steps vary by OS.
- Windows:
- Copy the content of
VSDarkProcessingTheme\lib
into thelib
folder where you installed Processing. For example, if you installed Processing inC:\Program Files\processing-3.4
, then yourlib
folder is simply located inC:\Program Files\processing-3.4\lib
. - Copy
preferences.txt
intoC:\Users\[username]\AppData\Roaming\Processing
. To access theAppData\Roaming
hidden folder, go to the Windows menu and type%appdata%
in the search bar. TheRoaming
folder should appear.
- Copy the content of
- Mac:
- Copy the content of
VSDarkProcessingTheme/lib
into~/Applications/Processing.app/Contents/Java/lib
. To access this location, go to the Processing app, right-click and choose Show Package Contents. - Copy
preferences.txt
into~/Library/Processing
. To access this location, open a new Finder window, use the shortcutShift-Command-G
and paste~/Library/Processing
. Hit theGo
button and you're in!
- Copy the content of
- Linux:
- Copy the content of
VSDarkProcessingTheme/lib
into thelib
folder of Processing. - Copy
preferences.txt
into~/.processing
.
- Copy the content of
Notes
- Last tested with Processing 3.5.2 Win32 (22 January 2019).
- You can notice on the screenshot that the line numbers are not blue like in the VS Dark Theme: that's because the line numbers in Processing are closer to the code than in VS, so I decided to make them gray to avoid confusion.
- Still on the screenshot, you can see that the
PVector
keyword is not colored if it's placed after thenew
keyword. I couldn't find the right setting to fix this, and in fact I think it's not possible. Please tell me if you find it :) - When using the theme, you will also notice that the primitive types (
float
,int
...) are green likePVector
, and not blue like in VS. That's because Processing doesn't make the difference between primitive types and custom types, so I decided to keep them green to avoid having too many blue in the code.
Authors
- Special thanks to Jeff Thompson for his GitHub repo on DarkProcessingTheme.
- Arthur Cousseau
License
This project is licensed under the MIT License - see the LICENSE.md file for details