You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to complete a function call from some package (for example, log.Printf) - the completion response has placeholder but not their names.
Try to complete the same function call (now with imported package) - the completion response has correct placeholders.
2023-05-17.20-01-03.mp4
Note: older versions of gopls didn't provide placeholders at all for cases when the package import was missing. Example:
2023-05-17.20-20-35.mp4
The text was updated successfully, but these errors were encountered:
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
May 17, 2023
gopls version:
master (242e5ed)
VSCode settings:
Steps to reproduce:
gopls.ui.completion.usePlaceholders
..go
file without any imports.log.Printf
) - the completion response has placeholder but not their names.2023-05-17.20-01-03.mp4
Note: older versions of
gopls
didn't provide placeholders at all for cases when the package import was missing. Example:2023-05-17.20-20-35.mp4
The text was updated successfully, but these errors were encountered: