Developed by Kerry Shireman.
Original Solarized color scheme developed by Ethan Schoonover mailto:[email protected].
The IBM WebSphere DataStage BASIC editor lacks, among other things, syntax highlighting. Notepad++ 6.3 and later has a language definition feature named User Defined Language (UDL) 2.0. This project implements UDL 2.0 for DataStage BASIC. Three color schemes are included, two of which are based on the Solarized color palette by Ethan Schoonover mailto:[email protected].
For more information on Solarized, please visit the Solarized home page or the Solarized repository.
NOTE: This project is a language-specific implementation of Solarized. The Notepad++ Style Configurator already supports Solarized for its built-in languages. If you're just interested in Solarized for Notepad++, please refer to its Style Configurator documentation.
These UDLs were developed for DataStage BASIC v8.5, and to my knowledge are syntax complete. If you run into issues, please open an Issue in the repository.
- Notepad++ 6.3 or later
- A few minutes for installation
Three UDL color schemes are included in this distribution.
- DSB.xml - For an out of the box Notepad++ installation
- DSB-Solarized.xml - For those who prefer the Solarized theme
- DSB-Solarized-l.xml - For those who prefer the Solarized Light theme
Assumptions
- Notepad++ is installed on your machine
All Installations
- Download this repository and extract
- In Notepad++, go to
Language | Define Your Language...
- Go to
Import...
, navigate to the appropriate UDL file (e.g. DSB.xml), clickOpen
- Click the top right
X
button, closing the dialog window
Solarized Installations
Another step is required to set the background color for Solarized installations.
- Go to
Setting | Style Configurator...
- Under
Language :
ensure thatGlobal Styles
is selected - Under
Style :
ensure thatGlobal override
is selected - Check the
Enable global background color
checkbox - Using the
Select theme
drop down, choose the appropriate theme (see table below for help): - Click
Save & Close
UDL File | N++ Theme |
---|---|
DSB-Solarized.xml | Solarized |
DSB-Solarized-l.xml | Solarized-light |
The installed UDL will be invoked automatically when opening files with a ".dsb" extension. ".dsb" isn't a DataStage BASIC convention; I just made it up during development. If you have a file extension conflict, you may invoke the UDL on a file by file basis. Here's how:
- Go to
Language
, then click the installed language name near the bottom, e.g.DSB
orDSB-Solarized
.
Click to view full size. For those interested, the font used is DejaVu Sans Mono.
Notepad++ may become confused when two or more UDLs are associated with the same file extension. If you already installed one of these UDLs and want to switch it out, follow these uninstallation steps before proceeding:
- In Notepad++, go to
Language | Define Your Language...
- Click the
User language:
drop-down - Select the installed language (e.g. DSB, DSB-Solarized), then click
Remove
. - See the Installation section
- Solarized Color Scheme by Ethan Schoonover
- Notepad++
- UDL 2.0 online documentation
- IBM InfoSphere DataStage - BASIC Reference Guide - v8.5
- IBM InfoSphere DataStage - Server Job Developer's Guide - v8.5
Many thanks to Ethan Schoonover for his awesome work on Solarized.
Thanks go to my colleague, Joy Stover, who encouraged me to get off my behind and do this.