Tips for Working in the Rule Editor
Here are some tips for working with the Rule Editor
Switching between Form and Source Editors
You can freely switch between form and source editors for rules and rule functions. In each case the editors stay synchronized with the latest changes.
You cannot switch from the source editor to the form editor if there are any syntax or resolution errors in your code.
Folder.Folder.Scorecard.prop1
Standard Eclipse Features
In addition to some TIBCO BusinessEvents-specific features, the source and form rule editors support standard Eclipse functionality such as the following: Undo and redo; copy and paste; breakpoint features; standard text annotations (which can be changed using Preferences); text folding (source editor only); Java outline view (source editor only).
Information Highlighted
Keywords, variables, and functions are highlighted in the text. Also, when you hover the mouse over a resource such as a concept, event or function, information about it displays in a tooltip.
Syntax and resolution errors are automatically flagged by visual cues. They are underlined and also display in the vertical and overview rulers.
Miscellaneous Tips
Some other tips are highlighted below.
To do this... | Do this... |
---|---|
Switch Between Source and Form Editors | Click the bottom tabs to switch between the source and form editors. The code remains synchronized. However, you cannot switch if there are errors in the code. First resolve the errors, then switch. |
To Use Content Assist to Complete Values | The content assist feature helps you complete values using information that is available in resources. For example, if you type the name of a concept type (or its alias) and then a period, a list of the concept type properties appears for you to select from.
The selection list also appears when the cursor is in an appropriate location and you press Ctrl+Space, or if you right-click and select from the context (right-click) menu. |
To Comment (and Uncomment) a Line | To comment out a line, or uncomment a line, press Ctrl+/ or select from the context menu. |
To Search for References | When the cursor is placed in an appropriate item in the code such as an entity or function name, you can find all references to that item references in the rule code. Press Ctrl+Shift+G, or select from the context (right-click) menu. The item references are highlighted in the text, and an arrow appears in the vertical ruler. |
To Jump to the Definition of an Item | To jump to the location where an item is defined, you can use two methods.
|