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

x/tools/gopls: repeats completion prefix for identifiers in comments #39262

Open
heschik opened this issue May 26, 2020 · 1 comment
Open

x/tools/gopls: repeats completion prefix for identifiers in comments #39262

heschik opened this issue May 26, 2020 · 1 comment

Comments

@heschik
Copy link
Contributor

@heschik heschik commented May 26, 2020

With gopls at tip, completing in comments doesn't overwrite the completion prefix. For example, in:

package main

// Foo<>
func FooDoesAThing() {}

you get a completion that yields

package main

// FooFooDoesAThing
func FooDoesAThing() {}

cc @clintjedwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.