Eclipse installs python and shell development plug-ins

1. Install the python operating environment

Python plugin address:  http://pydev.org/updates

Restart after installation and you can see that the content of the python script has been highlighted,,,, ok

2. Install the shell operating environment

1. Install the "man-page viewer" plug-in (ShellEd needs it, some machines don't need it, install it first)

Installation address: http://download.eclipse.org/technology/linuxtools/updates-nightly/

 

2. Install the "shelled" plugin

Download the zip package of ShellEd at http://sourceforge.net/projects/shelled/files/latest/download

This package is very difficult to download, the following is the address I uploaded after downloading :

https://download.csdn.net/download/zs319428/11664760

Set the data source in the form of archive, that is, zip package:

 

 

Right-click on the shell file -> open with-> select shell script Editor, and find that the opened SHELL file has syntax highlighting:

 

Some eclipse uses the text editor that comes with eclipse to open the shell file by default. After installing shelled, you can modify and use shelled to open the *.sh file by default. If there is no *.sh option, you can manually add one on the add button on the right:

 

3. Install the interpreter that can run the shell directly in eclipse of windows

http://win-bash.sourceforge.net/ 
(This file is already included in my csdn resource package above https://download.csdn.net/upload/11664760 )

Download the first one, extract it to the specified directory, and open eclipse:

 

Set the shell interpreter by adding, and directly select sh.exe in the decompressed directory.

Then write a shell to test whether it can run:

At present, it is only found that it can be run in the run mode, and the debug does not seem to be possible, but it is also convenient for us to debug.

 

The shell file is ultimately run on linux. Running the shell in eclipse on windows can only be used for debugging at most to remove some basic bugs. You must test it under Linux after the development here.

 

 

 

 

Guess you like

Origin blog.csdn.net/zs319428/article/details/100537089