Symbol: ; keyboard shortcut: [F2]
Function: This command opens the “Input Assistant” dialog which helps you to select one of the possible programming elements at the current cursor position.
Call: Menu bar: “Edit”; context menu.
Requirement: A POU is open in the editor and the cursor is at a program line.
Dialog 'Input Assistant' - Tab 'Categories'
The input assistant provides all program elements that you can insert at the current cursor position in the editor.
The elements are sorted by “Categories”. In the category “Variables”, you can also set a “Filter” for the scope, for example “Local variables”, “Global variables”, or “Constants”.
“Structured view” |
|
“Show documentation” |
|
“Insert with arguments” |
Example: If you insert the function block |
“Insert with namespace prefix” |
|
If you create objects with the same name in the same category, whether globally (“POUs” view) or assigned to an application (“Devices” view), then only one entry appears in the input assistant. The usage conforms to the usual call priority (application assigned before global).
Dialog 'Input Assistant' - Tab 'Text Search'
This tab allows you to search for specific objects. When you begin typing a search string into the search field, the names of all objects are listed whose names include the search string. Double-click an object to insert it at the current cursor position in the editor.
“Filters” |
Limits the search to a specific variable category |