ObjectTeams/Java editor
The ObjectTeams/Java editor provides specialized features for editing
ObjectTeams/Java code. The ObjectTeams/Java editor supports the following features
(in addition to the features of the standard
Java editor):
- Navigation support for Object Teams elements (F3 = Open Declaration, see below)
- Syntax highlighting for Object Teams keywords and modifiers.
Because syntax highlighting is determined in a context-free manner, also
scoped keywords
(
A.0.1)
like after, base, before, get, result, set are highlighted,
even in situations where they have no special meaning.
- Content/code assist (code completions) for Object Teams program elements.
- Templates (source patterns) for Object Teams specific language constructs
using content assist (Ctrl+Space),
e.g.
within (Expression) Statement
- New callin marker annotations in vertical ruler (for bound base methods)
allowing navigation to callin bindings.
Obvious enhancements for the normal F3 navigation regard the following:
- Go to a role's base class using the
playedBy clause.
- Go to a bound base method or a bound field using a callout or callin binding
(the opposite direction is supported by callin markers).
Navigating role files
(
1.2.5):
- Hitting F3 on the
team package declarations jumps to the enclosing team.
- In order to navigate from a team to its role file use the quick outline
by hitting
Ctrl-O twice:
role files will be offered for selection along inline members.