Content Assist is a pop-up window that provides a list of valid tags for
the element or attribute at the cursor location.
To open or enable the Content Assist window, place the cursor where you
need the help in the source editor, and use one of the following methods:
- Hold down the Ctrl key and press the Space bar.
- By default, content assist is set to automatically show suggestions as you enter source code.
To edit the preference, select Web and XML > XML Files > XML Source. By default, the Automatically make suggestions check box is selected.
(Click it to deselect it, if preferred.)
- Type values in the Prompt when these characters are inserted text
box to specify how you want to open the Content Assist pop-up window. By default,
the < symbol opens the Content Assist window.
- Click OK to save the setting.
To select a tag listed in the pop-up window, use one of the following methods:
- Double-click the tag.
- Use the keyboard arrow keys to highlight the item and press
Enter.
When you select a tag, the associated beginning and ending tags are inserted
into your SRGS-XML file at the current cursor location.
To close the Content Assist window, click outside the window, or press
the Esc key.
Notes: - The content assist window will pop up only when the system can provide
some assistance. If the cursor location does not have Content Assist,
you will either hear a tone or see a message at the bottom of the workbench.
The pop-up will not come up if the cursor is at a location for which you cannot
add any valid tags, such as when the cursor is in an invalid tag, or all
available attributes have been added. The cursor should also always be in
front of a space character to guarantee that tags and attributes can be added.
- The content assist feature will modify code based on the current cursor
location. If the cursor is placed so that it appears at the first character
of an attribute, it will replace the attribute with the content assist selection;
it will not replace the value of the attribute.