doumibi6899 2017-07-13 18:40
浏览 89
已采纳

Eclipse中自动完成错误

I am running Eclipse 4.6.3 with GoClipse and NodeClipse installed. I have configured Go in Preferences -> Go.

I want autocomplete to work for Go. However, it is giving me the error: writing to process input broken pipe

See screenshots below for error and configuration.

Error

Go

enter image description here

How do I fix this problem?

  • 写回答

1条回答 默认 最新

  • dpj96988 2017-07-18 14:17
    关注

    At least on the second page, all of the paths seem wrong. You supplied the path to the source code where the dialog asks for the path to the executable.

    To make sure you have all the tools installed run the following commands in the terminal:

    go get -u github.com/nsf/gocode
    go get -u golang.org/x/tools/cmd/guru
    go get -u github.com/rogpeppe/godef
    

    Now, for each of the tools run

    which <tool>
    # example:
    which guru
    # => /Users/user/gocode/bin/gocode
    

    Copy the output into the Executable: field in the config screen.

    For gofmt you should be able to simply tick "Use default location"

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的