In the Jython editor, use content assists and content tips to speed
up the creation of WebSphere® Administrative (wsadmin) objects, methods
and parameters; and Jython syntax.
You can use content assists to help you finish a line of
code in the Jython editor. The placement of the cursor in your script file
provides the context for the content assist to offer a list of suggested completion.
You
can use content tips to see a list of parameter hints in a method argument.
If the cursor is located at the parameter specification for a method reference,
this actions shows a floating window with parameter types information.
Restriction: In
the floating window for the content assists, the Javadoc is available only
for WebSphere Administrative
(wsadmin) objects, methods and parameters. The content assists for Jython
syntax displays only the keyword.
To use content assist and tips in the Jython editor:
- Open a Jython script file in the Jython editor:
- In Navigator view, expand the Jython project that contains the
Jython script file you want to use content assists or tips.
- Right-click the Jython script file.
- In the pop-up menu, select .
- Place your cursor in a partially entered string of code in the
Jython editor and start content assists in any of the following ways:
- If the Jython editor finds valid candidates for this position,
a list of possible completions is shown in a floating window. You can type
further to narrow the list.
- Use the arrow keys or the mouse pointer to navigate through the
possible completions.
- Select an item in the list to complete the code fragment by completing
one of the following steps:
- Selecting it and pressing Enter
- Double clicking it
- Place your cursor in a parameter specification for a method reference
and start the content tip in any of the following ways:
- Press Ctrl+Shift+Space
- Select
- If the Jython editor finds valid candidates for this position,
a list of parameter hints is shown in a floating window.