mirror of
https://github.com/golang/go
synced 2024-11-18 10:14:45 -07:00
72f2e0bf6d
Instead of only checking whether the selection is an AST expression in canExtractVariable, we now also check what kind of AST expression it is. This limits the frequency of situations where the lightbulb appears (canExtractVariable succeeds), but nothing can be extracted (extractVariable fails). Change-Id: I1e63c982e482bb72df48b414bdb4e8037140afdb Reviewed-on: https://go-review.googlesource.com/c/tools/+/247408 Run-TryBot: Josh Baum <joshbaum@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysisinternal | ||
apidiff | ||
event | ||
fakenet | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
proxydir | ||
span | ||
stack | ||
testenv | ||
tool | ||
typesinternal | ||
xcontext |