mirror of
https://github.com/golang/go
synced 2024-11-18 22:04:43 -07:00
6223712555
The -rpc.trace flag in gopls enables logging in "lsp inspector format".
Currently sent responses isn't parsed by the lsp inspector so it fails to
parse gopls logs.
The lsp inspector regexp matcher requires the duration to be prefixed with
"took" instead of "in", e.g. "took <d>ms.".
This change updates gopls to match the log parser in lsp inspector,
see
|
||
---|---|---|
.. | ||
typescript | ||
context.go | ||
doc.go | ||
enums.go | ||
log.go | ||
protocol.go | ||
span.go | ||
tsclient.go | ||
tsprotocol.go | ||
tsserver.go |