mirror of
https://github.com/golang/go
synced 2024-11-06 17:36:22 -07:00
87e6e099c6
In cases like "fmt.Pr<>int()" we previously would replace "Print" with the new completion, yielding for example "fmt.Println()". Now we no longer overwrite, yielding "fmt.Println()int()". There are some cases where overwriting the suffix is what the user wants, but it is hard to tell, so for now stick with the more expected behavior of not overwriting. Fixes golang/go#34011. Change-Id: I8c3ccd8948245c27b52408ad508d8e01dc163ef4 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196119 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
literal_snippets.go | ||
snippets.go.in |