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

Autocomplete different results #13

Closed
quapo opened this issue Nov 15, 2021 · 2 comments
Closed

Autocomplete different results #13

quapo opened this issue Nov 15, 2021 · 2 comments

Comments

@quapo
Copy link

quapo commented Nov 15, 2021

Autocomple shows different results when using tab and not using tab.
Expected behaviour: Not pressing tab should show the same results as using tab before
Specs:

  • OS: Windows 10 Pro Build 19042.1288
  • Go version: go version go1.17.3 windows/amd64
  • Gopls version: golang.org/x/tools/gopls v0.7.3 golang.org/x/tools/[email protected] h1:Lru57ht8vtDMouRskFC085VAjBAZRAISd/lwvwOOV0Q=
  • Sublime version: SublimeText 4 version 4121
  • Plutign version: LSP-gopls v1.0.2

Example:
As a basic example we'll use the following code:

package main

import "fmt"

func main() {
    fmt.Println("Hello World")
}

when entering fmt (without pressing TAB) and entering a dot after it this autocomplete is shown:
image
when entering fmt (with pressing TAB) and entering a dot after it this autocomplete is shown:
image

@rwols
Copy link
Member

rwols commented Nov 15, 2021

Sounds like sublimelsp/LSP#1228

@quapo
Copy link
Author

quapo commented Nov 16, 2021

Yeah like the original issue but not what was the last mentioned issue. I'll close this one and comment on the other one thank you @rwols

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

2 participants