nsf/gocode

no autocompletion for function in reference to a type struct

Closed this issue · 0 comments

Autocompletion for a reference to a function in a type struct doesn't work: Example Code

Example:

File:

package main

type Testo struct {
	S  string
	T1 func(args []string)
}

func main() {
        //# = Cursor 
	var s = Testo.# // option for S and T1
	s = &Testo {
		# //S is the only option for autocompletion
                // no suggestion for T1
	}
}