Original URL: http://www.crazyant.net/1185.html
Eclipse is a very useful IDE, usually we use Eclipse to develop Java programs, in order to develop Python, shell and other scripts can also run on eclipse, there are a lot of related plugins:
- Python:pydev
- Shell:shelled
- Svn:subclipse
- Php:pdt
Using the eclipse process can be more search online plug-ins, some can greatly improve the development efficiency, this article in the development of Linux environment Python, shell script as the background, installed Eclipse and on its top of the development of Python, Shell, SVN plug-ins, The shell plugin can specify the shell interpreter so that the shell can be run directly in Eclispe under Windows.
First, download and install the JDK
Address: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Since I am a 64-bit machine, I downloaded the X64 jdk.
Second, install Java, Python, Shell development tool eclipse
You can use eclipse standard 4.3
Address: http://www.eclipse.org/downloads/
Open Eclipse and set the JDK address:
Third, install the development of the Eclipse plugin python Pydev
Address: http://pydev.org/
Enter the available Update station address for Pydev:
Priority: Http://pydev.org/updates
Optional: http://pydev.org/nightly
After installation, you can open the Pydev view and discover that the Python file is already syntactically highlighted.
Iv. Installing the Eclipse plugin for developing the shell shelled
Address: http://sourceforge.net/projects/shelled/
1, install "man-page Viewer" plug-in (shelled need, some machines do not need, first loaded)
Installation Address: http://download.eclipse.org/technology/linuxtools/updates-nightly/
2, install "shelled" plug-in
Download the shelled Zip package in http://sourceforge.net/projects/shelled/files/latest/download
Set up the data source in archive, which is the ZIP package:
Right-click on the Shell file->open with-> Select Shell Script Editor and find the open shell file has syntax highlighting:
Some eclipse default is to open the shell file with Eclipse's own text editor, after installing the shelled, you can modify the use shelled default open *.sh file, if there is no *.sh this option, You can add one manually on the right add button:
3. Install an interpreter that can run the shell directly in Windows Eclipse interpreter
There are a lot of ways to run the shell under Windows, and Cygwin feels too cumbersome, and two tools are recommended here:
http://win-bash.sourceforge.net/
http://unxutils.sourceforge.net/
Download the first, extract to the specified directory, and then open eclipse:
You can set the shell interpreter by adding the method, select the Sh.exe in the extracted directory directly.
Then write a shell to test if you can run:
Shell files are ultimately run on Linux, in Windows Eclipse run the shell can only be used to debug, to remove some basic bugs, you have to complete the development of Linux under the test again.
Install and manage SVN's eclipse plugin Subclipse
Address: http://subclipse.tigris.org/, select on this page
A variety of installation methods are given in the interface, and this article is installed using Eclipse Update site url:http://subclipse.tigris.org/update_1.10.x.
After successful installation, you can use right-click->import to import the project from SVN.
If you make changes to the file, or add and delete operations, right-->team the file or directory, you can see some of the SVN options:
Article from: Crazy ants, reproduced please indicate the source.
Go to install Python, shell development environment, and SVN plug-ins for eclipse