r4 - 21 Oct 2008 - 01:43:31 - Anton OrlovYou are here: TWiki >  Refaldevel Web > WebHomeEn > RefalEclipseUIEn

Refal Plus Development Tools (Eclipse-based Refal Plus IDE)

Installation of Eclipse-based Refal Plus IDE is described here: Eclipse Plugin InstallationEn.

The following is some highlights of the IDE with screenshots.

Enhanced editing of Refal code

Syntax highlighting

Various syntax objects have different highlighting. Especially useful is different highlighting for definition and repeated use of a variable in a pattern matching. Also all the occurences of an object under the cursor are visually emphasized.

1.png

Color scheme can be customized through menu Window -> Preferences -> Refal Plus -> Syntax Coloring.

Highlighting of matching brackets

Matching pairs are highlighted for parentheses, braces, and angle brackets.

Default combination for jumping to the matching bracket is Ctrl-Shift-P.

2.png

Automatic formatting

The code is automatically indented as you type it. Default combination for re-indenting selected code is Ctrl-I. Ctrl-Shift-F re-indents the whole file.

Before formatting:

7a.png

After formatting:

8a.png

Errors visualizing

By default compiler is run in the background just as you type your code: no additional compilation phase! Compiler errors and warnings are indicated by special markers straight in the code. Error messages go to the special window. Also messages pop-up under the cursor when pointing to a marker.

4.png

Running a Refal program

If you have no compiler errors then just push the Run button! A launch configuration for your Refal application will be created. By editing it (through menu Run -> Open Run Dialog) you can choose your main function and set arguments and environment.

6.png

Program result is shown in a separate window:

5.png

Debugging

You can trace your program execution straight in the editor window. In other windows there available variable values, call stack, breakpoints and so on.

debug.png

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
R+

This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback