Feedback & Feature Requests
Has anyone created a Notrepad++ language script for Cube/TPP scripts? I find that syntax highlighting and variable highlighting vastly improves the readability of a script.
If not, perhaps (hint hint) Citilabs can start one. You can see what's already available at
Examples I would advise looking into for inspiration might be Excel formulas, GISDK, Powershell, S ...
Colby made one. It's been moved around a few times and it's from 2012, but thanks to the magic of the Internet Wayback machine, I have it: https://www.dropbox.com/sh/wo9p96gnrh856wf/AAAXTfciWl_rtJlEk-IbsEaIa?dl=0
Also note that I posted a way to run Voyager from N++ a while back: http://community.citilabs.com/t/favourite-function-tool-tip-in-cube/780/2?u=okiandrew . As noted in the text, I set it up as CTRL+SHIFT+F9 and I think it makes life much easier (especially since 9/10 times I'm writing a Voyager script in N++ it's because I want to convert a file, so they're short scripts).
The Cube text editor (version 6.4 and later) supports code highlighting. Below is a screen shot. For more information on the Cube text editor shortcuts and functionality, please refer to out help at Cube Base >> Job Script Editor Window. As a background info, Cube text editor is based on the Scintilla code editing component which Notepad++ uses.
This is great, the only thing missing is the functionality of clicking on a variable and seeing all instances of it highlighted. This is invaluable when reading and reverse engineering someone's script.
Thanks for the Notepad++ xml!
I'd like to make this a formal feature request.
Highlighting a variable, and seeing all other occurrences is very useful in finding typos and in understanding another's script.
I still want this function.
Clicking on a variable and seeing all instances is highly useful.