eclipse - Go language configuring -


i need work university , choose using go language. yesterday installed .msi , setted variables to:

  • gopath = c:\users\gustavo\goprojects (this folder want place go projects)
  • goroot = c:\go\
  • path = c:\users\gustavo\goprojects\bin

after this, installed goclipse plugin on eclipse , created new project goprojects folder. then, created folder in src folder, , .go file folder.

now problem. when started write code, everytime try auto complete code, eclipse shows me error , searching on google , found need install 1 project github called gocode.

so want know need install , how can import project.

p.s.: using windows 8.1, have git installed , link of gocode project is: https://github.com/nsf/gocode

i solved problem doing steps:

  • downloaded gocode src folder. (the path: c:\users\gustavo\goprojects\src\github.com\nsf\gocode)
  • in eclipse, this: window -> preferences.
  • open go option in left menu click tools.
  • in gocode path set c:\users\gustavo\goprojects\bin\gocode.exe

and thats it! works now.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -