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 4 Next »

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

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

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

Running Groovy scripts

The first nice thing is to edit and run any groovy script from inside the editor. When doing so and getting 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.

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.

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.

All the usual other stuff like

  • moving selection with the mouse,
  • indent/unindent with tab/shift-tab on selections,
  • smart replacements with regular expressions in selection/current file/all open files/recursively through subdirs
  • file type and encoding conversions
  • hex view
  • column mode
  • smart selection on double click
  • macros
  • file compare
  • and - above all - starts amazingly quickly

Have fun.

– Mittie

  • No labels