1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:48:32 -06:00
go/internal
Rebecca Stambler 8634b1ecd3 internal/lsp: improve handling of code completion snippets
A few minor fixes: check that the insert text has the expected prefix
before removing it, use a bytes.Buffer to build up snippets, and check
that functions have parentheses in their insert text before trimming
them.

Change-Id: Iaeaf6fda25d6b0a375460b975188486685be1061
Reviewed-on: https://go-review.googlesource.com/c/152978
Reviewed-by: Ingo Oeser <nightlyone@googlemail.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2018-12-07 19:59:48 +00:00
..
fastwalk internal/fastwalk: avoid slice bounds out of range for long file names 2018-11-12 23:16:31 +00:00
gopathwalk internal/gopathwalk: ignore $GOROOT/.../vendor/ in module mode 2018-11-07 20:51:50 +00:00
jsonrpc2 internal/jsonrpc2: change to a more synchronous dispatch model 2018-11-14 19:09:51 +00:00
lsp internal/lsp: improve handling of code completion snippets 2018-12-07 19:59:48 +00:00
memcache godoc: move third-party godoc deps behind build tag 2018-10-02 22:38:33 +00:00
semver go/packages: add name= query 2018-10-16 20:20:09 +00:00