zoukankan      html  css  js  c++  java
  • GoEclipse的配置大概步骤(基于GoEclipse 0.14.1版本)

    由于更习惯用eclipse,花了一整天终于把GoEclipse的编译和调试环境配好了,主要有三个难点:1)翻_墙问题;2)插件版本差异(网上提到的安装配置用的goeclipse版本与现有的版本(0.14.1)相差很大);3)插件所需gocode、oracle以及godef等exe文件的编译),如下大致步骤:

    1、到官网下载eclipse基础版本;网上搜下下载go版本以及liteide软件;

    2、通过网上说的一般步骤安装goeclipse插件(goeclipse官网插件网址是http://goclipse.github.io/releases/);

    3、难点在于goeclipse插件的配置:

        1)gocode.exe插件下载解压并放在go的src目录下(Go/src/github.com/nsf/gocode,官网是github.com/nsf/gocode)通过如下命令安装 

        C:LearnToolGosrc>go install github.com/nsf/gocode就会自动在go/bin目录下生成gocode.exe文件;

        2)类似方法安装oracle.exe插件(官网:https://github.com/golang/tools);

        3)类似方法安装godef.exe插件(官网:github.com/rogpeppe/godef);

    4、gdb调试:从liteide中的bin目录下拷贝gdb.exe和gdb64.exe,设置下路径即可;

    这样就可以在eclipse下编辑编译以及调试go程序了。

  • 相关阅读:
    Corn Fields
    状压DP
    全排列函数
    搜索
    前缀和与差分
    最小花费
    【Lintcode】062.Search in Rotated Sorted Array
    【LeetCode】039. Combination Sum
    【LeetCode】040. Combination Sum II
    【LeetCode】047. Permutations II
  • 原文地址:https://www.cnblogs.com/ftrako/p/5451894.html
Copyright © 2011-2022 走看看