Bash Editor

Add this URL to your Eclipse Installation to reach this solution's update site.

Oxygen (4.7)
Neon (4.6)
Photon (4.8)
2018-09 (4.9)


Learn more...

Details Group Tabs

Monday, October 22, 2018 - 09:40
proubekas's picture

When doing a click and drag, of the install button the following error occurs.

HTTP Proxy Authentication Required: h t t p s : / / dl.bintray.com/de-jcup/basheditor/content.xml
Proxy Authentication Required

atregnaghi's picture

Hello Paul,

this is not a plugin problem but an http proxy issue. At https://github.com/de-jcup/eclipse-bash-editor/issues/114 another user had same issue, please look into my answers there.

scoyne's picture

Hi ,

I am getting a timeout when attempting to install:

 

eclipse.buildId=4.7.1.M20171009-0410
java.version=1.8.0_144
Created Time: 2018-05-28 14:10:33.171

org.eclipse.equinox.p2.transport.ecf
Error
Tue May 29 10:05:32 BST 2018
Unable to connect to repository https dl.bintray.com/de-jcup/basheditor/content.xml

 

Connection to dl.bintray.com/de-jcup/basheditor/p2.index failed on Connection timed out: connect. Retry attempt 0 started

 

atregnaghi's picture

Hello scoyne,

I just tried a installation and all was working fine (Eclipse Oxygen 3) . Maybethis was a temporary problem or you have a network connection issue? Please try again.

If you have still any problems to open files with the editor, please report an issue at
https://github.com/de-jcup/eclipse-bash-editor/issues

Best wishes
Albert

jhunterb30's picture

How do you bring up the Bash Editor? How do you associate it with .sh files? I've installed twice and cannot cannot find it in any of the avialable editors.

atregnaghi's picture

Hello Jeffrey,

if you have still problems to bring up the editor, maybe can find interesting information also at 
https://github.com/de-jcup/eclipse-bash-editor/issues/76#issuecomment-38...

atregnaghi's picture

Hello Jeffrey,

bash editor is tagged to support files with .sh ending (see https://marketplace.eclipse.org/category/free-tagging/fileextension_sh ) also the editor associates itself with this ending on installation.

If you have already installed a plugin which does already associate itself with those files the bash editor will be not the main editor until you change it in preferences.

An example to associate the editor with dedicated file types can be found at
https://github.com/de-jcup/eclipse-bash-editor/wiki/FAQ#why-is-bash-edit...

If you have still any problems to open files with the editor, please report an issue at
https://github.com/de-jcup/eclipse-bash-editor/issues

jhuanggaw's picture

Got below exception:

Unable to read repository at "//dl.bintray.com/de-jcup/basheditor/content.xml".
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

atregnaghi's picture

Hello Jude,

as mentioned in my reply to another comment at https://marketplace.eclipse.org/comment/5148#comment-5148 :

I have just installed the plugin to a fresh eclipse instance and got no problems. I did the installation at 2018-01-29 23:30 german time.

I think this must have been a temporary problem at bintray server certificates - or you have a proxy server which is not trusting bintray certificates? If you have still such problems please create an issue at https://github.com/de-jcup/eclipse-bash-editor/issues 

Thank you

Albert

serlecke's picture

Hey there,

I got a certificate error while trying to install this script. I resolved that by adding the download URLdirectly into my eclipse and removing the s from https :)

Thanks for that editor, looks great so far ;)

Greetings,
Steffen

atregnaghi's picture

Hello Steffen,

I just tried it out by my own - I did following steps to reproduce the problem:

  1. Downloaded a complete new eclipse eclipse-java-oxygen-2-win32-x86_64.zip from eclipse.org
  2. Opened it in empty workspace
  3. Installed bash editor by eclipse marketplace client
  4. Got a typical warning about unsigned plugin installation - as normal because I currently do not sign my plugins
  5. Restart -> OK
  6. After eclipse restart bash editor plugin works as expected

So I am not sure, but this could be an temporary issue with bintray hosting site. Maybe the certificates were outdated at your installation.
As I said, I changed nothing and it worked well (from Germany). So you should be applet to add the "s" again ...

If you have still such problems please create an issue at https://github.com/de-jcup/eclipse-bash-editor/issues

 

Thank you 

Albert

avigliotti's picture

Hi Guys,

last little bugs are solved after I upgraded 1.5.1

I use this bash editor with various bash scripts, even a big script fo > 3500 lines.

Bash editor help me to keep clean and functional code.

The best bash editor over the world!

 

avigliotti's picture

Hi,

I found a little mismatch; see follow code

text="a b c"
read a b c<<<"$text
echo $a $b $c  # actual code, no here-document!

Bash editor does not recognize here-string (<<<) but it believes it is here-document (<<)

All the lines following <<< (in above example echo $a $b $c) are coloured as here-document until variable name (text in above example) is found.

Thanks

atregnaghi's picture

Hello Antonio again,

at https://github.com/de-jcup/eclipse-bash-editor/issues/90 I found out that you have not closed your string and this is the reason why the syntax highlighting does not work. Never the less I found out that <<< was internally handled as heredoc and not as herestring. This is now fixed, but has no influence to your described problem.

Could you please sign in to github and discuss the problems at https://github.com/de-jcup/eclipse-bash-editor/issues/90 ? This is much more convenient than on marketplace and it will be inside product issue tracking (change mangement...)

Thank you
Albert

atregnaghi's picture

Hello Antonio,

I created an issue at https://github.com/de-jcup/eclipse-bash-editor/issues/90 . Will be fixed.

avigliotti's picture

Great! I am happy to say the little bug was solved!

After upgraded bash editor I can see good syntax colors.

Thanks to Albert. I strong suggest to use this bash editor to write and update bash script. It is better than vi and better than other bash tools. This bash editor help to avoid stupid mistakes writing bash scripts.

Thanks, thanks.

 

avigliotti's picture

I searched for bash editor and now I found this plugin.

It is good and very useful.

Could be upgarded to solve some little mistakes. In this piece of code, the second if statament  is not coloured

   if [ -f /etc/lsb-release -o -d /etc/lsb-release.d ]; then
        DIST=$(grep "DISTRIB_ID" /etc/lsb-release|awk -F"=" '{print $2}'|tr -d "\"', \n")
        if [ -z "$DIST" ]; then
            DIST="Ubuntu"
        fi
    fi

Thanks for this plug-in

atregnaghi's picture

You are wellcome!

I reentered your bug into issue tracker at https://github.com/de-jcup/eclipse-bash-editor/issues/16

Bugfix is planned for milestone 0.7.0 (means version 0.7.0).