SXML Intellisense
SXML Intellisense
Another new feature available as of Smartsite 7.9 is SXML Intellisense.
Just start typing SXML, and an auto-completion list will pop-up automatically. It is context sensitive and will show available options dependent on the cursor position and the characters typed. For example, when a list of macro's is shown and you keep typing (e.g. "<se:re"), the list of shown options is limited to the macro's which name starts with the characters typed so far:
You can navigate through the list of options using the arrow keys and/or page-up and page-down keys. To select a specific option, high-light it using these keys and press Enter, or use the mouse and left-click on the specific option.
The Escape key will hide the options list, Ctrl-Space will bring it back.
SXML Intellisense is provided for both (SXML) macro's and (local) vipers.
The Ctrl-H key combination will open the documentation site https://docs.seneca.nl/Smartsite-Docs using a new browser window/tab, and will try to jump to context-sensitive information. For example, when the cursor is placed inside the cms.getitemnumber() viper, pressing Ctrl-H will open the documentation for this specific viper method.