For the nth time, I'm restructuring how I use MC. And as always, I break an expression or 3 or... I don't have any experience in coding so working on expressions is a challenge for me. After looking at a broken expression for 15 minutes, I finally figure out I missed something simple. This happens a lot but using
Notepad++ helps a lot. This past week, I decided to try and configure
Notepad++ to help me a bit more.
I created a custom language that color codes the expressions (see Language.jpg). I figure I'd share it with everyone. Might help beginners to read expressions easier.
I've attached my custom language file (JRiver Media Center.zip) below. To install, unzip JRiverMediaCenter.zip to get JRiver Media Center.xml. In
Notepad++, click
Language >
Define your language... Click the
Import... button and point to the JRiver Media Center.xml file. Restart
Notepad++ (thanks
RoderickGI). To run the language for the file you are looking at, click
Language >
JRiver Media Center.
You can have it ignore casing, i.e. ifelse is same as IfElse, by checking
Ignore case next to the
Export button.
Functions (blue) = Folder & Default > Folding in code 1 style and Operators & Delimiters > Operators 1
HTML (orange) = Comment & Number > Comment line style
Default Fields (purple) = Keywords Lists > 1st group
Default Fields (Display name) (light purple) = Keywords Lists > 2nd group
Custom Fields (green) = Keywords Lists > 3rd group
Custom Fields (Display name) (light green) = Keywords Lists > 4th group
Custom Fields have been left blank on export.