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

gopls/internal/lsp/source/completion: support more postfix completion for map and slice (len, for, forr) #459

Closed
wants to merge 1 commit into from
Closed

gopls/internal/lsp/source/completion: support more postfix completion for map and slice (len, for, forr) #459

wants to merge 1 commit into from

Commits on Dec 1, 2023

  1. gopls/internal/lsp/source/completion: support more postfix completion…

    … for map and slice (len, for, forr)
    
    Add some new postfix completions (len, for, forr) for map and slice,
    with additional support for chan type (for). The previous
    implementation of postfix completion did not support Placeholder, which
    resulted in a poor user experience. This can be seen in the issue golang/go#59689.
    This commit also adds support for Placeholder and modifies
    some existing places where Placeholder should have been used.
    
    Fixes golang/go#64037, golang/go#59689
    rogeryk committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    d61809f View commit details
    Browse the repository at this point in the history