2016-11-17 23:34



I've installed and configured GOClipse v0.16.1 on eclipse Neon (obviously, I've installed GO and tested it from command line).

To test the plugin, I created a GO project with a command and a package, formatted, built and ran the command. All good!

But when I try to import an existing GO project, eclipse doesn't recognise it as a GO project. Hence, I can't build it from within eclipse. The source is located in $GOPATH/src where the test project's code is.

Is there anything else I need to do?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答


  • doujimiao7480 doujimiao7480 5年前

    The "Import existing projects into workspace" wizard only works for existing Eclipse projects, that is, locations that have Eclipse's .project file already.

    If you have just a Go project, you should use the Eclipse "New Go Project" wizard, and specify on the wizard the location of your existing Go project.

    点赞 评论 复制链接分享