mirror of
https://github.com/golang/go
synced 2024-11-18 21:44:45 -07:00
7e72c71c50
Often anonymous functions can be passed as arguments to a function. In these cases, it can be annoying for a user to see signature help for the entire duration of their writing this function. This change detects if the user is typing in a function literal and disables signature help in that case. Fixes golang/go#31633 Change-Id: I7166910739b6e1ec0da2ec852336136b81d13be0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/184260 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Suzy Mueller <suzmue@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
completion_format.go | ||
completion_snippet.go | ||
completion.go | ||
deep_completion.go | ||
diagnostics_test.go | ||
diagnostics.go | ||
enums.go | ||
format.go | ||
highlight.go | ||
hover.go | ||
identifier.go | ||
references.go | ||
rename_check.go | ||
rename.go | ||
signature_help.go | ||
source_test.go | ||
suggested_fix_experimental.go | ||
suggested_fix.go | ||
symbols.go | ||
util.go | ||
view.go |