mirror of
https://github.com/golang/go
synced 2024-11-18 04:14:49 -07:00
ea3a2cdbfb
It's useful to be able to switch between case sensitive, case insensitive, and fuzzy matching for symbol without having to reload gopls. FZF has some nice syntax for this: https://github.com/junegunn/fzf#search-syntax Adopt a subset of this syntax for our symbol search: ' for exact matching ^ for prefix matching $ for suffix matching It would be straightforward to also support inversion, using '!', but I deemed this unnecessary. I think we should adopt this, since none of these symbols conflicts with Go identifiers, or (AFAIK) with special syntax in major LSP clients. Change-Id: If2e4d372d4a45ace5ab5d4e76c460f1dcca0bc2b Reviewed-on: https://go-review.googlesource.com/c/tools/+/248418 Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
acme.md | ||
analyzers.md | ||
atom.md | ||
command-line.md | ||
contributing.md | ||
daemon.md | ||
design.md | ||
emacs.md | ||
faq.md | ||
implementation.md | ||
integrating.md | ||
settings.md | ||
status.md | ||
subl.md | ||
troubleshooting.md | ||
user.md | ||
vim.md | ||
vscode.md |