Embedded Wizard Studio: Code Editor Assistant window
This window assists you while working with the Code Editor. It helps in particular to find and select the right operands when you edit an expression, enter a conditional compilation directive, etc.:
Code Editor Assistant window
The Assistant observes continuously the text you enter in the Code Editor and, depending on its respective context, displays a list with appropriate suggestions. For example, when you enter the . (period) sign, the Assistant window evaluates the expression lying on the left of the sign and, if it results in a valid object, displays all members the particular object in fact does provide. Now you can easily explore the members and select the one you want to involve into the expression.
Show the Code Editor Assistant window
The Assistant window appears automatically when relevant text has been entered in the Code Editor. Alternatively you can show the Assistant manually:
★To show the Assistant window manually, press the key CtrlSpace while working with the Code Editor.
Please note, when activating the Assistant manually, the Assistant provides a list containing only the global project members and the members of the class, the currently edited method belongs to. The content of the Code Editor is not evaluated in this case.
Pick a suggestion
The Assistant window displays a list of suggestions matching the current context. You can navigate within the list and pick the desired item:
★To navigate in the list use the keys Up and Down.
★To pick the selected suggestion press the key ENTER
★... or double click on the corresponding list item.
Thereupon the Assistant window disappears and the picked suggestion is taken over by the Code Editor window.
Filter suggestions
As long as the Assistant window is visible, you can apply a filter pattern to the displayed suggestions and thus find the desired one in a more convenient way:
★For this purpose, simply continue entering text after the Assistant appeared.
With every entered character, the Assistant window is updated to show only those suggestions, whose actually contain the given text fragment. The entered text itself is displayed in-place in the Code Editor window:
An alternative and more advance approach is the usage of wildcard signs ? and * in the entered filter pattern. Here, the sign ? is assumed as representing exactly one arbitrary character within the suggestion. In turn the sign * can represent any arbitrary number of characters including even an empty text.
Please note, when using the wildcard signs, the suggestion has to match the complete specified pattern in order to be listed in the Assistant window. For example, the pattern view* matches only suggestions starting with the text view followed by any or even none arbitrary text. In turn, the pattern view (without any wildcard signs) matches all suggestions containing the text view regardless of its position:
Reset the filter
You can edit or even reset the filter pattern:
★To delete the complete filter pattern, press the key Escape.
★To delete only the last entered sign press the key Backspace.
Dismiss the Assistant window
The Assistant disappears automatically as soon as you have picked one of the suggestions. If desired, however, the Assistant window can be dismissed explicitly without picking any suggestion:
★To dismiss the Assistant press the key Escape.
Please note, if after appearing the Assistant window you have entered any text (e.g. to filter suggestions), you have to press the key Escape twice. The first Escape deletes the entered text and the second dismisses the window.
In the case, you want to dismiss the Assistant without deleting the entered text (the text should be kept in the Code Editor), do following:
★Press the key Right
★... or simply click with the mouse outside the Assistant window.