GoClipse / goclipse

Eclipse IDE for the Go programming language:
http://goclipse.github.io/
Eclipse Public License 1.0
841 stars 286 forks source link

Missing imports are not detected #189

Closed wolfgangmeyers closed 8 years ago

wolfgangmeyers commented 8 years ago

I was able to work around this by enabling the go project builder for auto builds, but with the default configuration, the editor does not show any errors when referencing missing imports.

bruno-medeiros commented 8 years ago

What is the output in the Go build console?

bruno-medeiros commented 8 years ago

If the errors show up in the Go build console, but they don't show up as problem markers in the Eclipse workspace and editor, and the Go project is inside the GOPATH, then that's a bug that was discovered very recently.

wolfgangmeyers commented 8 years ago

I started seeing this after updating goclipse. When I disable the go builder on autobuild, I see no output from the build console when removing imports. The build console only has output when I have the go builder enabled for autobuilds. (unless I do a manual build, and then I do see output).

For reference, my eclipse version: Eclipse Java EE IDE for Web Developers.

Version: Mars Release (4.5.0) Build id: 20150621-1200

bruno-medeiros commented 8 years ago

I'm not sure I understand what the problem is then. If you remove the Go builder from autobuilder, then it will never get invoked (and therefore no build console output), except when you do a manual build.

wolfgangmeyers commented 8 years ago

Got it. When I upgraded this was disabled by default. Having it enabled on autobuild is more like the behavior I expected.