GoClipse / goclipse

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

Autocomplete doesn't work when importing package with an alias #183

Closed parhamdoustdar closed 8 years ago

parhamdoustdar commented 8 years ago

I have a file that begins like this:

package main

import (
    "flag"
    "fmt"
    machinery "github.com/RichardKnop/machinery/v1"
    // ...
)

Autocomplete works fine for fmt and flag, but not for machinery. I'm guessing it's because of the fact that I'm importing it with an alias?

Here is the link to the project on Github, in case you want to see the project layout and why I'm importing it like this:

https://github.com/RichardKnop/machinery

bruno-medeiros commented 8 years ago

That would be a limitation with https://github.com/nsf/gocode , you'll have to file a report there.