In the past, getting ShellEd to work with Eclipse could be annoying at times, depending on your OS/Eclipse version(s). However, I am happy to report that ShellEd 1.0.4 installs easily and appears to work perfectly on the following system:
ShellEd is a superb shell script editor for Eclipse. The great benefit of this plugin is the integration of man page information for content assist and text hover. Check it out!
- WinXP SP2
- Sun Java 1.6, Standard Edition, build 1.6.0_11-b03
- Eclipse Version: 3.4.2, Build id: M20090211-1700
- Download shelled_1_0_4.zip from the ShellEd SourceForge site. URL: http://sourceforge.net/projects/shelled
- Unzip shelled_1_0_4.zip to a directory that will be your local install source; I used C:\eclipse_local_install_sources\shelled_1_0_4. NOTE: Your local install source dir should not be under your eclipse\* folder structure!
- In Eclipse, navigate to Help -> Software Updates -> Available Software -> Add Site... -> Local... and select the C:\eclipse_local_install_sources\shelled_1_0_4 folder. You should now have a new location under Available Software called C:\eclipse_local_install_sources\shelled_1_0_4.
- Expand C:\eclipse_local_install_sources\shelled_1_0_4 -> Uncategorized -> ShellEd. You should see version 1.0.4 for ShellEd. Check the ShellEd box and click Install.
- Follow the prompts, and restart Eclipse when prompted. ShellEd 1.0.4 should now be working.
- Open a *.sh file and verify that the syntax highlighting is working. You can also check the file associations by navigating to Window -> Preferences -> General -> Editors -> File Associations. Scroll through the file extensions list in the File Associations pane, and verify that you see an icon that looks like a piece of paper with the upper right corner folded and the letters SH in the center of the icon. This icon should appear next to files with shell script extensions (*.sh, *.csh, *.ksh, *.zsh, *.bash, etc).
Happy Bash-scripting to you.
-MrCA
No comments:
Post a Comment