By Rick Finley-Oracle on Apr 28, 2015
There have been a few inquires about visual editors for PSRM config tools. There are several editors you can use, Notepad++ is a popular choice, it allows you to color code here's an example:
Notepad++ is a free editing tool. One of its features is the ability to have additional languages defined, which allows code mark-up, for example.
Download and install Notepad++ from any source (for example: http://notepad-plus-plus.org/ )
Download a local copy of the PSRM Config Tools UDL file (configTools.xml)
Install the User-Defined Language (UDL) for PSRM Config Tools by doing the following after launching Notepad++:
Select Language > Define your language ... from the menus.
- Click Import.
- Select your local copy of configTools.xml, then click Open.
- An "Import successful." dialog box will come up.
Close the confirmation dialog box and restart Notepad++.
You should now see "ConfigTools" as an option (near the bottom) when you click Language from the menu.
To use the PSRM Config Tools language definition:
Edit or paste a config tools text into Notepad++.
Select Language > ConfigTools from the menu.
Your text will now be treated as a ConfigTools and will be marked-up as such.
Here's a version of the UDL for presentation purposes, like for training. This is called "ConfigToolsPresent" and uses bigger text and fancier fonts.
configToolsPresent UDL file.
Pros and Cons:
- Pro: Provides visual cue to developer while viewing/writing xPath or XML.
- Con: Configuration file needs to be updated and distributed when script syntax changes (new keywords, etc).