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: support post-fix completion snippets #39354

Open
liuwangchen opened this issue Jun 1, 2020 · 6 comments
Open

x/tools/gopls: support post-fix completion snippets #39354

liuwangchen opened this issue Jun 1, 2020 · 6 comments

Comments

@liuwangchen
Copy link

@liuwangchen liuwangchen commented Jun 1, 2020

hope
image

image

@hyangah
Copy link
Contributor

@hyangah hyangah commented Jun 2, 2020

@liuwangchen Do you mean that you want a certain word at the end of a function call triggers autocompletion of LHS? In your example, .var is the certain word. Did I guess correctly?

@liuwangchen
Copy link
Author

@liuwangchen liuwangchen commented Jun 2, 2020

@hyangah Yes, I used goland to find this nice feature, and I hope this plugin will support it

@stamblerre stamblerre changed the title hope support postfix support post-fix completion snippets Jun 2, 2020
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Jun 2, 2020

Thanks for the feature request! We likely will not be making improvements to the completions provided by this extension directly - rather, we will make changes in gopls. I will transfer this issue to https://github.com/golang/go as a gopls feature request.

@stamblerre stamblerre transferred this issue from golang/vscode-go Jun 2, 2020
@stamblerre stamblerre changed the title support post-fix completion snippets x/tools/gopls: support post-fix completion snippets Jun 2, 2020
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 2, 2020

Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here.

@gopherbot gopherbot added this to the Unreleased milestone Jun 2, 2020
@stamblerre stamblerre added FeatureRequest and removed Tools gopls labels Jun 2, 2020
@liuwangchen
Copy link
Author

@liuwangchen liuwangchen commented Jun 3, 2020

very nice~

@liuwangchen
Copy link
Author

@liuwangchen liuwangchen commented Jun 29, 2020

image

image

image

hope support bracket post-fix snippet

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.