The Jython editor is the tool for editing Jython scripts. The Jython editor has many text editing features,
such as syntax highlighting, unlimited undo or redo, and automatic tab indentation.
When you tag a comment in a Jython script with "#TODO", the editor automatically
creates a corresponding task as a reminder in the Tasks view. Then, if you
open the task later, the editor automatically synchronizes to that TODO entry
in the script source. Other helpful features are content assist and tips
which provides a list of acceptable continuations depending on where the cursor
is located in a Jython script file, or what you have just typed.
The Jython Editor extends the basic text editor. If you change
the preferences for the basic text editor, your changes are automatically
applied to all other editors that are based on it. Click page.
We recommend
working in the Resource perspective when you are developing Jython script
files. The views that appear by default in this perspective (such as the
Outline view) help facilitate Jython development.
Restriction: The
Jython editor is not integrated to a compiler. As a result, the Jython editor
does not perform syntax verification on your scripts.
Prerequisites
To 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 edit.
- Right-click the Jython script file you want to edit.
- In the pop-up menu, select Open With > Jython Editor.
Now, you can perform the following editing tasks using the Jython
Editor: