Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Well, the name 'Plugin' is a bit too much, but I wanted to stick to the naming convention...

h2 Ultra Edit
UltraEdit is a nice little text editor when working on Windows. It is very much suited to handle all kinds of resource files and some little scripts, when starting your IDE just takes too long.

You can get it from http://www.ultraedit.com/

UltraEdit is not free but fairly unexpensive. One can work with the evaluation license foreven, but the warnings get more and more annoying then.

h2 Running Groovy scripts

The first nice thing is to edit and start any groovy script from inside the editor. When doing so and you get a stacktrace, it is added to an output list, that is click-aware. In the line you click, UltraEdit tries to find a filename and a line/column position and opens the editor at that position.

To make this happen, go to Advanced -> Tool Configuration and enter the following:

After that, you can run your active Groovy script with Ctrl-Shift-0.

h2 Groovy awareness

UltraEdit is aware of those languages that are described in %INSTALL_DIR%\WORDFILE.txt. Add to that file what you find in the attached wordfile-groovy.txt.

UltraEdit assigns numbers to its known languages. Groovy is numbered as 9 in the above file. You can change that by editing the first line that reads /L9 .

With that language support, Groovy code now looks like

Below the editor is the output window and right of it is a function list, that shows interesting lines of the file. The current implementation shows class and method definitions. They are clickable for easy navigation.

h2 Other features

Hitting Ctrl-Space in UltraEdit will cause it do try some text-based code completion. It is surprising how helpful such a simple functionality can be.

UE will try to smart-indent your code while typing.

Have fun.

– Mittie

  • No labels