vscode-go
vscode-go copied to clipboard
Prettier error display, like pretty-typescript-error extension
Is your feature request related to a problem? Please describe. Error messages on complex types and functions can be messy and tricky to read and understand For example
cannot use signup.GardenerCommandHandler (value of type func(b *"clockey/bot".Bot) handler.MessageCommandHandler) as handler.MessageCommandHandler value in argument to h.MessageCommand
Describe the solution you'd like It'll be nice if we can have error display like in the popular vscode extension, Pretty Typescript Error https://marketplace.visualstudio.com/items?itemName=yoavbls.pretty-ts-errors
So instead of the error above We can instead display
cannot use
signup.GardenerCommandHandler
(value of type func(b *"clockey/bot".Bot) handler.MessageCommandHandler) as handler.MessageCommandHandler value in argument to h.MessageCommand
Something to this effect