Press Ctrl-Space
to see a list
of possible completions at the current cursor position. There are two types of completions:
In the popup, use the cursor keys to choose a suggested code or function template. Press
Enter
to select the current template. It will be inserted at the current
cursor position.
For example, to add a new function, enter "fun" and press Ctrl-Space
.
Completion also works for variables: if the cursor is located behind the start of a variable,
e.g. "$c", pressing Ctrl-Space
shows all variables in the current context starting
with "$c".
Within a code or function template, press Tab
to cycle between template parameters.
Press Escape
when you are done with the parameters and want to input an ordinary
tab character.
eXide not only parses the code currently open in the editor, it also knows all imported modules.
To directly jump to the definition of a function in an imported module, place the cursor somewhere in
the name of the called function and press F3
. If the function is in an imported
XQuery module, eXide will open it in a new tab. Note: this only works for modules written in XQuery, which
reside in the database, not Java modules.
To get help on a called function, press F1
instead of F3 while the cursor is positioned
within the function's name.
To open or import an XQuery module, press F4
anywhere in the editor to see all
modules available in the database. To insert an import statement for a module at the current cursor position, click on the
Import
button. eXide automatically determines the path to use for the import. Modules residing in the same
application collection will be imported with a relative path.
Note: the Import
button will only be shown if the active editor tab contains an XQuery document.