delve/service
Stefan Haller aec354cd0b
Shorten variable types (#3535)
* Add ShortenType function

Taken from

  https://github.com/aarzilli/gdlv/blob/master/internal/prettyprint/short.go

with kind permission by @aarzilli.

* Shorten type names in variable values

The variables view in VS Code is a lot easier to read if long type names are
shortened in much the same way as we shorten them for functions in the call
stack view.

We only shorten them in the value strings; the Type field of dap.Variable is
kept as is. Since this only appears in a tooltip, it isn't a problem to have the
full type visible there.
2023-11-09 10:15:25 +01:00
..
api Shorten variable types (#3535) 2023-11-09 10:15:25 +01:00
dap Shorten variable types (#3535) 2023-11-09 10:15:25 +01:00
debugger service: fix a bunch of linter warnings from GoLand (#3551) 2023-11-05 17:36:37 +01:00
internal/sameuser pkg,service: Remove redundant build constraints (#3556) 2023-11-06 16:22:50 +01:00
rpc1 service: fix a bunch of linter warnings from GoLand (#3551) 2023-11-05 17:36:37 +01:00
rpc2 service: fix a bunch of linter warnings from GoLand (#3551) 2023-11-05 17:36:37 +01:00
rpccommon service/rpccommon: correct wrong comments (#3397) 2023-05-31 10:11:47 -07:00
test service/test: disable TestClientServer_chanGoroutines with rr backend (#3492) 2023-10-13 10:55:24 -07:00
client.go pkg/terminal: add 'packages' command (#3499) 2023-09-18 08:59:58 -07:00
config.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
listenerpipe.go cmd,service: in non-headless mode use an in-memory connection 2018-10-08 15:11:13 -07:00
rpccallback.go service: fix typos in comments (#3344) 2023-04-27 13:39:33 -07:00
server.go cmd,service: remove temporary def of Server interface in func 2018-10-09 07:56:48 -07:00