You can use content assist to help you finish a tag or line of code in the Source view of the XML editor. Bovendien kunt u met contenthulp sjablonen in de XML-code invoegen.
De plaats van de cursor in uw bronbestand bepaalt de context aan de hand waarvan contenthulp suggesties aanbiedt.
U kunt contenthulp op de volgende manieren oproepen:
In addition, you can set up an option that causes content assist to pop up automatically when certain characters are typed. To set up this option, click to open the Preferences window, then select . Select the Automatically make suggestions check box, and supply any additional characters that should trigger content assist.
Wanneer de cursor zich op een positie bevindt waar contenthulp beschikbaar is, wordt een voorgrondlijst met suggesties afgebeeld als u contenthulp oproept. The list is based on the context and whether a DTD or XML schema is associated with the XML file being edited. For example, if you have an Address element that can contain any of the following children elements: Name, Street, City, Zip Code, Country, and Province, and you place your cursor after any of them and launch content assist, all of the child elements will be listed in the content assist list.
Content assist cycling is available in the XML editor, offering multiple pages of content assist. You can set preferences for the proposal categories and the cycle order when repeatedly invoking content assist
De lijst van contenthulp bevat alle geldige tags voor de cursorpositie, met inbegrip van sjablonen. Als uw grammaticabeperkingen zijn uitgeschakeld, worden niet alleen de geldige tags, maar alle beschikbare tags afgebeeld.
Als u de eerste een of twee letters typt van de gewenste tag, wordt de lijst automatisch aangepast met de gealfabetiseerde keuzen die aan uw invoer voldoen. Blader verder en selecteer de tag die u wilt gebruiken door erop te dubbelklikken.