Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no autocompletion for function in reference to a type struct #517

Closed
norilt opened this issue May 22, 2018 · 0 comments
Closed

no autocompletion for function in reference to a type struct #517

norilt opened this issue May 22, 2018 · 0 comments

Comments

@norilt
Copy link

norilt commented May 22, 2018

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
	}
}
@norilt norilt closed this as completed Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant