Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Content layer
id555476289


Content column
id555476291


Content block
id555476286

Anchor
top
top

Alf Plugin

Released on: November 21, 2019

The Alf Plugin version 19.0 SP3 provides better syntax-error highlighting in the Alf Editor, a new Create button in the Alf Editor window, the ability to access context features without using this and improved performance of the on-open check. It also provides bug fixes.


Content block
id555698389

What you get:


Content block
id555476290
Anchor
errors
errors
Highlighting Syntax Errors in the Alf Editor

Previously, when Alf code in the Alf Editor had syntax errors, only the first error was identified and highlighted. Now, multiple syntax errors can be highlighted.

Alf code with multiple syntax errors highlighted

Learn more about the Alf Editor >>

Anchor
create
create
New Create Button in the Alf Editor Window

A Create button has been added to the Alf Editor window. This button provides a convenient means to create a behavior associated with a selected element, to you can then add Alf code.

The Create button is inactive when editing

Pressing Create pops up a menu when there are multiple options

You can be use it to create:

Anchor
this
this
Accessing Context Features Without Using this

Like Java and JavaScript, Alf uses the keyword this to denote the current instance of the context Class in which the this expression occurs. Unlike Java and JavaScript, however, the Alf specification requires that this be used explicitly in order to access features (Properties, Operations and Receptions) of the context Class. The Alf Plugin now implements an extension to the Alf language that allows context features to be accessed by name without explicitly using a this prefix. This is similar to what is allowed in Java and JavaScript.

Accessing context features without using this

Learn more >>

Anchor
performance
performance
Improved Performance of On-Open Check

When an Alf project is opened, the Alf Plugin searches the project for Alf code and parses any code it finds, in order to find any errors and establish dependencies of the code on other model elements. The Alf Plugin now performs the initial search phase of this check much faster and allows it to be cancelled by the user.

Learn more about dependency tracking >>

Anchor
fixes
fixes
Bug Fixes

The following bugs have been fixed in the Alf Plugin 19.0 SP3:

  • Edits lost when element is clicked outside the Alf editor.
  • Exception when a certain Fork Node is deleted from an Activity created by an Alf compilation.
  • Exception when mapping equality expression.
  • Exception due to ill-formed reception without a signal reference.
Content block
id362009245