gaopeng1106 / liteide

Automatically exported from code.google.com/p/liteide
0 stars 0 forks source link

Incomplete auto-complete? #57

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Auto-complete doesn't seem to work all the time - often it does not seem to 
work neither for packages, nor for all symbols imported from packages.

For example, if you picture the | being the location where I'm typing, the 
following doesn't work:

    package some_test

    import (
        "testing"
    )

    func TestJustPlayingAround(t *testing.T) {
        t.|
    }

There is also no auto-complete for package members, for example this doesn't 
work:

    package math_test

    import (
        "math"
    )

    func TestJustPlayingAround(t *testing.T) {
        math.|
    }

Packages imported with an explicit local alias or imported into the global 
namespace also do not seem to trigger an auto-complete.

Is it just not very complete, or is something missing on my system as far 
getting this to work?

Thanks!

Original issue reported on code.google.com by ras...@mindplay.dk on 20 Dec 2013 at 8:51

GoogleCodeExporter commented 8 years ago
Can you confirm that you have installed gocode? 
https://code.google.com/p/golangide/wiki/FAQ#Install_gocode

Original comment by Corneliu...@gmail.com on 10 Feb 2014 at 1:10

GoogleCodeExporter commented 8 years ago
I did not have gocode installed - maybe the IDE should display an alert if it 
can't find gocode?

Original comment by ras...@mindplay.dk on 10 Feb 2014 at 2:33