Content assistance
Content assistance is a functionality provided by Eclipse platform extended to understand Robot data model.By default it is invoked by pressing CTRL+SPACE key short-cut, but it can be changed in binding keys preferences.
It can be also invoked by typing one of auto activation characters defined in preferences.
Content assistance mode of working
Assist window has multiple modes which are cycled by CTRL+SPACE. Next mode type is displayed at the bottom of the window.All proposal containing given input are displayed. Proposals starting with given input are displayed first.
When given input is camel case string (for example: REA, CrBiFi, WaUCr) keywords proposals that match that string are displayed before other matches.
Content assistance preferences
Behavior of content assist can be changed at
Window -> Preferences -> Robot Framework -> Editor -> Content Assist
.Auto insert
If single proposals insertion is enabled, code assistant will choose and insert automatically single proposals.
Auto activation
When auto activation is enabled, triggers and delay can be specified to automatically show assist window when one of defined characters is typed.
Keywords
Options in this section allow to:
- Enable keyword propositions from libraries available in red.xml, but not imported in robot file. Library import will be added automatically when such proposal is accepted.
- Configure library/resource prefix addition strategy. Such prefix can be enabled/disabled or enabled only if keyword conflict exist.
- Specify "Tab" behavior for automatically added arguments in source view. Cycle between arguments or exit on last argument can be chosen.
- Choose ambiguous keyword finding strategy used for features like table cell coloring, documentation show action and template arguments proposals.