eclipse go开发环境

下载 eclipse-platform-4.6-linux-gtk-x86_64.tar.gz

sudo tar xvfz eclipse-platform-4.6-linux-gtk-x86_64.tar.gz  -C /opt
sudo cat > /tmp/eclipse.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=eclipse
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Type=Application
StartupNotify=false
StartupWMClass=eclipse
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;
EOF
sudo mv /tmp/eclipse.desktop /usr/share/applications
sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
Instructions:
1 Use your existing Eclipse, or download a new Eclipse package from http://www.eclipse.org/downloads/.

# For an Eclipse package without any other IDEs or extras (such a VCS tools), download the "Platform Runtime Binary".
1 Start Eclipse, go to Help -> Install New Software...
2 Click the Add... button, then enter the Update Site URL: http://goclipse.github.io/releases/ in the Location field, click OK.
3 Select the recently added update site in the Work with: dropdown. Type GoClipse in the filter box. Now the Goclipse feature should appear below.
4 Select the GoClipse feature, make sure "Contact all update sites during install to find required software" is enabled, and complete the wizard.

# Dependencies such as CDT will automatically be added during installation.
1 Restart Eclipse.
2 Follow the instructions from the User Guide's Configuration section to configure the required external tools. It is recommended you read the rest of the guide too.

猜你喜欢

转载自www.cnblogs.com/liujitao79/p/9647176.html