go/internal/lsp/debug
Pontus Leitzler 64bbad1f52 internal/lsp/debug: improve readability of session options
I find the session options page in gopls debug a bit hard to read. This
change aims to improve readability by:

- Sorting non-default options first (and alphabetically by name)
- Use bold text for option name
- Hide the "current value" if it's string representation equals the
  default value's string representation

Change-Id: I93606ae788b97e46dc1d3aff420bb58f4c4d9674
Reviewed-on: https://go-review.googlesource.com/c/tools/+/352130
Trust: Pontus Leitzler <leitzler@gmail.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2021-09-28 20:53:23 +00:00
..
log internal/lsp/debug: hook runtime/trace into event spans 2020-12-11 18:50:31 +00:00
tag internal/lsp/debug: add a facility to track known bugs 2021-05-10 23:21:19 +00:00
info.go internal/lsp/debug: improve readability of session options 2021-09-28 20:53:23 +00:00
metrics.go internal/event: move event/core.Tag to event/label.Label 2020-04-23 18:13:33 +00:00
rpc.go gopls/test: add type checking for debug server templates 2020-12-22 16:32:15 +00:00
serve.go internal/lsp/debug: improve readability of session options 2021-09-28 20:53:23 +00:00
trace.go gopls/test: add type checking for debug server templates 2020-12-22 16:32:15 +00:00