go/internal/lsp/testdata/snippets
Shoshin Nikita 727dfdb191 internal/lsp/source/completion: add conventional acronyms for type names
This change adds a list of conventional acronyms that are used for function
completion. For example, "err" for "error" and "tx" for "sql.Tx" or "sqlx.Tx".

Fixes golang/go#48260

Change-Id: Iff951ee58c0c95389d474cc45dfd84b483ff71e3
GitHub-Last-Rev: 05ccd5a2fe95e2e0504d28230308c4888477a977
GitHub-Pull-Request: golang/tools#363
Reviewed-on: https://go-review.googlesource.com/c/tools/+/381969
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-02-03 15:53:42 +00:00
..
literal.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
literal.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
literal_snippets.go.in internal/lsp/source/completion: add conventional acronyms for type names 2022-02-03 15:53:42 +00:00
literal_snippets118.go.in internal/lsp/source: use the real type parameter in snippet completions 2022-01-21 14:07:19 +00:00
postfix.go lsp/completion: fix postfix completions preceding assignments 2021-04-26 15:26:58 +00:00
snippets.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
snippets.go.in internal/lsp/completion: fix invalid struct literal field snippet 2021-02-05 19:39:40 +00:00