My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
InstallationInstructions  

Featured
Updated Jun 9, 2011 by emerson....@gmail.com

How to install the GoClipse plug-in fo the Go programming language.

Prerequisites:

Currently, only the plan 9 style compilers are supported. GCCGO may be supported in the future

Development Version Update Site: http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/

Notes: If you seeing Uncategorized or some version other than the current version of the plug-in, you may have to delete the Eclipse repository cache at: eclipse/p2/org.eclipse.equinox.p2.repository/cache

1. Start Eclipse, then select Help > Install New Software... In the dialog that appears, enter the update site URL into the Work with text box:

http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/
Click on the Add... button.

2. Leave the Name text box empty (the name will be retrieved from the update site). Click OK.

3. Back in the Install dialog, you should see the center box filled with the category: Go Plug-in for Eclipse. Check the box next to it.

4. Review the features that you are about to install. Click Next.

5. Read the license agreements and then select I accept the terms of the license agreements. Click Finish.

6. You will then be asked be asked if you would like to restart Eclipse. Click Yes.

7. Now you are ready to create a Go Project. Click on File > New > Project...

8. Select Go Project from the tree. Click Next.

9. Enter the name of the project into the Project name text field. Click Finish.

10. The Go perspective will open and the new project will be visible from the Project Explorer View. See GettingStarted for more information on the new project and development tips.

Comment by estensJ9, Jun 23, 2010

Hi, I cannot install Go-Plugins to My Eclipse 3.5 Galileo.

http://goclipse-ide.googlecode.com/svn/trunk/goclipse-update-site/ -> URL invalid?

http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/ -> OK. but Install Failed.( cannot find Aritifact)

Which is correct? Could I know how to install, pls.

Comment by emerson....@gmail.com, Jun 25, 2010

Sorry about this. Nefarious has not been completely eradicated from the update site.

Comment by lukenin...@gmail.com, Aug 12, 2010

mine complains about the artifact file also. When will this get fixed? I really want to try it...

Comment by nonebru...@gmail.com, Aug 16, 2010

I just installed it in Helios on OSx 10.6, but I don'r get the go project option or any other sign of goclipse. If I go to eclipse about menu, it does list the plugin as installed, but I can't use it. Any suggestions? Is that a bug or am I missing something?

Comment by inbal....@gmail.com, Sep 10, 2010

"artifact not found", still

Comment by reuben.b...@gmail.com, Dec 15, 2010

When I try and build a project, I get:

Errors occurred during the build. Errors running builder 'Go Project Builder' on project 'Go-HelloWorld?'. java.lang.NullPointerException?

Building from command line works using:

8g hello.go 8l hello.8 8.out.exe
Options in Eclipse seem to be set up correctly, and they match the environment variables in Windows.

Any help would be greatly appreciated

Comment by marcod...@gmail.com, Dec 17, 2010

Hi the same for me !!!! br

Comment by ren...@woralelandia.com, Jan 27, 2011

As a note, on Fedora 14, you need to install eclipse-jdt-3.6.1-6.1.fc14.x86_64.rpm:

su -c 'yum install -y eclipse-jdt-3.6.1-6.1.fc14.x86_64.rpm'

Comment by markus.b...@gmail.com, Feb 14, 2011

Hi everyone, i tried to install this plugin in eclipse 3.5.1 and 3.6.1. But the code completion not work.

System information: OS: Ubuntu 10.10 x64

I've set follow system variables:

GOROOT=$HOME/golang/go/ GOARCH=amd64 GOOS=linux

I also added go/bin to my $PATH

Any ideas / help ?

Thanks

Comment by emerson....@gmail.com, Feb 16, 2011
Comment by markus.b...@gmail.com, Feb 16, 2011

Thanks steel. I've forgotten to install gocode shame on me Now everything works fine !

Comment by wmika...@gmail.com, Apr 25, 2011

OS: MacOsX 10.6.7 Eclipse: Version: Helios Service Release 2 Build id: 20110218-0911 1. I kept seeing Uncategorized despite deleting eclipse/p2/org.eclipse.equinox.p2.repository/cache

Installed anyway
2. On creation of a Go project I got error: Invalid Go language settings. Please adjust on the Go preferences page. I do not know what to adjust on the Go preferences page. The directories of the project have been created.

Comment by MarkHkamp, Apr 29, 2011

@wmika...: I had that error too, but the following fixed it. I'm on Linux and using the first Helios release, but it should be quite similar on OS X with Helios SR2.

1. Go to "Window -> Preferences -> Go" and set "GOROOT path" to "/home/[USERNAME]/go" or whatever path Go has been installed to.

2. In the "Problems" tab of the main view, select the error message, press the delete key, and confirm deletion. For some reason the messages don't auto-clear, but they haven't come back for me at least.

Comment by tdd...@world.oberlin.edu, May 8, 2011

Help needed. Installed goclipse on Ubuntu 10.04/Eclipse 3.5.2 w/o problems, and it performs as described. This was a fresh Eclipse install. Repeat on Debian 6.0.1/Eclipse 3.5.2 Build M20100211-1343 (existing Eclipse install) appeared to work, but there is no indication that goclipse is installed except available software list under Help. Neither Window->Preferences and File->New->Project offers any go-related options. Go compiler appears to work correctly, is installed under /opt/go, owner go:go for general access (identical configuration on both systems).

Thanks.

Comment by Shaha...@gmail.com, May 29, 2011

I have the same problem.....using ubuntu 11.04

Comment by emerson....@gmail.com, May 29, 2011

Did you try using eclipse 3.6? If not please do so and report the results. Also, this is not a forum for reporting bugs. I appreciate the information, but please take the time to file an issue.

Comment by WrongEng...@gmail.com, Sep 6, 2011

Erm.. I had these problems too. And I noticed that I didn't create the project precisely, as shown here http://code.google.com/p/goclipse/wiki/GettingStarted.

First create a new Go project by choosing 'New > Project...' from the File menu. In the wizard selection menu choose 'Go Project' from the 'Go' folder, and click 'Next >'. On the next page, give the project a name like 'agoproject', and click finish.

After I deleted the old test and created a new one, it just ran. Hope this helps someone.

Comment by riadh1s, Nov 16, 2011

Hi evryone, I have a problem when trying to run the hello world program. At first I had the same problem than wmika, then the error is gone thanks to MarkHkamp? solution. But I have another problem : when I click "Run Go Application", nothing happens !! No errors, but no hello world message either ! for information, I'm using Ubuntu 11.10 64 bits and Eclipse 3.7.0.

Comment by AllenV...@gmail.com, Dec 16, 2011

GO in Eclipse is great, One does not have to worry about running in X platform since both a cross compatible. Please keep developing the Go plugin for Eclipse! Thank you all for the contribution!

Comment by 518...@gmail.com, Mar 22, 2012

Is there any plan for making this tool work with the latest go.weekly.2012-03-XX?

Comment by johanhel...@gmail.com, Apr 28, 2012

I have installed the golang package from the ubuntu repository (go1) Go seems to be spread out across several directories now. How do I set GOROOT and GOPATH?


Sign in to add a comment
Powered by Google Project Hosting