Original source: http://home.tiscali.be/redrobin/jython/index.html
The Jython plugin under Red Robin's Eclispe is a very comfortable development environment specializing in Jython developers. This project began in the case of a very lack of information in October 2003. For this plugin, there is no long-term plan, and its development is mainly dependent on the needs of users.
The current version number of this plugin is
1.2.13
To understand the development of the plugin, see the historical version (http://home.tiscali.be/redrobin/jython/releases.html) and the development page (http://home.tiscali.be/redrobin/jython/development. HTML).
The current version only supports the development of Jython 2.1 in the Eclipse2.1.x environment. Some people try to be in Eclipse
3.0 m
8 running, but there are some functional operations that are not as good as Eclipse2.1.x (eg reconstruct a project).
This article not only races the characteristics of the plugin, but also includes the installation and upgrading of the plugin.
If you have any experience introductions, comments, recommendations, problems, and error reports, please send to: redrobin@tiscali.be? Subject = Red Robin Jython Plug-in for Eclipse. If you want to receive the upgrade prompt letter about this software, please register and use the title "Register for Updates of the Red Robin Jython Plug-in for Eclipse" to redrobin@tiscali.besubject=register for Updates of the Red Robin Jython Plug-in for Eclipse. We will keep your email address and only send business messages about this plugin.
l feature
n jython project
Although a simple Eclipse project can also support Jython editing modules, more powerful editing features can only be used under Jython project editing modules. The Jython project automatically helps you find the source folder belonging to the Jython module and know where to call Jython class libraries in this module. When a module is created, it saves the description of the system path of the module.
Eclipse installed with Jython plug-in can create the Properties of Jython projects and specified items by wizard. Select "New Project" from the toolbar or use the menu "New> Project ..." to open the wizard. As shown below:
In the current version of this plugin, the "Order" setting page is not used, which will be a prerequisite for future versions.
Click "Finish" to call, Jython project is created, which means that all type libraries and modules of the source folder have been converted and analyzed. All modules are placed in a template called Jython. Templates express these modules in an abstract way, making both source code of the module without loading in memory, and you can also browse what it can bring. In the analysis phase of the creation, the plugin analyzes the source code and adds errors and warning tags.
Important: In the current version, Jython template can not last time. When the Eclipse is restarted, Jython project cannot be automatically recompiled. Of course, when the Eclipse is started, the user can recover by selecting item and menu operation "Project> Reconstruction Project". The Jython template then saves daily resource changes.
N Jython perspective
Jython Special Icon
Let Jython are easy to recognize from many perspectives.
Jython icon is also used in Jython file navigation. In the current version, Jython perspective consists of navigation view, outline view, editing view, control view task view, and search view.
N Jython Browse perspective Jython Browse perspective is considered a test product of the current version, because the function is lacking, making it a lot of usage in daily software development work. For example, this view lacks menu. Browse perspective in a browsing method, there is a certain use under Jython template.
Jython browsing perspective is easy to recognize, because its icon looks like a magnifying glass on many Jython.
u Project View: The project view is a hierarchical view, which is a contour of the Jython project and its folder. Select a source folder, you will display its contents in the module view.
u Module View: Module view Ros listed all modules for selecting folders. Double-click a module will open a module editor.
u Module Content View: Module Content View The top-level definition of the selection module is displayed, double-click a definition to open a module editor.
u Method Property View: List all methods and properties of the class in the module content view. If you don't have a class, the view is empty.
Perspective also includes standard control views, task views, and query views.
N module editor
The module editor is associated with the file that extension ".py". It is based on standard Eclipse text editor. The current version does not have a parameter page, which inherits all settings for the standard text editor. At present, Jython's special parameter settings are hard coded, such as text color, Tab always automatically indent four spaces, coding assistance, etc.
The functionality provided by the module editor is:
Contour: The profile is listed in the function, classes, methods, and properties defined in the Jython module. Nested functions and classes of the profile. The class is displayed by the class icon, the icon of the method is, the attribute icon is, the icon of the function is. When the user selects an item in the outline, the text code in the module editor will highlight.
The sort of the toolbar on the contour view can be sorted by the contour, and sorting has been made by default.
The outline will change when saved, saved as and the conversion command. When there is a syntax error, in order to prevent the error, the error message is prompted in the outline. When the user doubles the error message, the text in the module editor is highlighted.
Grammatical plus color: three quotes strings, strings, line annotations, keywords, and built-in functions are colored.
Automatic indentation:
Double-click Policy:
Content assistance:
Define navigation:
Tab key is replaced by space:
Block comments and cancel notes:
Tags and tasks:
Grammatical errors:
Error import:
Alert parameter error:
Repeat definition:
N structure
l installation instructions
If you have already installed a .py file editing plugin, first uninstall it before installing the Jython plugin of Red Robin.
1. Select "Help> Software Upgrade> Upgrade Management" from the menu
2. Select "New> Site Bookmark" from the pop-up menu of the upgrade view.
3. When the picture shows below, fill in the new site bookmark dialog box.
4, expand the newly added tag "Red Robin"
5, expand the nested "other"
6. Select the latest version of "Jython Feature". (Now there may be a version updated than the illustration)
7. Click "Install Now" in the preview view.
Installation wizard
8, accept the license agreement, click "Next"
9, accept the default installation path, click "Next"
10. Click "Finish"
11. When you pop up an unsigned prompt, click "Install"
12, successful installation, OK
l Upgrade plugin
Upgrade plugins, you can follow the steps below.
1, select "Help> Software Upgrade> Upgrade Management"
2, waiting for the upgrade wizard
3, select the latest version of "Jython Feature"
4, accept the agreement, click "Next"
5, click "Finish"
6. When you pop up an unsigned prompt, click "Install"
7, pop up a dialog box to restart Eclipse, click Yes "
8, complete the upgrade, OK