Build Shell Script Editor under Eclipse--Install the Eclipse plugin for the development shell shelled

Source: Internet
Author: User

Build Shell Script Editor under Eclipse-Install the Eclipse plugin for development shell shelled1, 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.

Build Shell Script Editor under Eclipse--Install the Eclipse plugin for the development shell shelled

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.