I am not trying to use a debugger, I'm trying to get the editor to show me types.

Reply to this note

Please Login to reply.

Discussion

VScode right?

I have never been able to get that thing to work properly for Go and honestly after 6 years and Microsoft buying it I'm not surprised it hasn't been fixed.

I use IntelliJ and since I first used it in 2016 it's static analysis tooling just kept getting better. I was super happy when it started fully resolving interfaces, which previously could be a real pain when you are looking at code that uses the interface but you want to know what concrete types it might be calling. That's been working for about 3 years now.

I'd bet that Webstorm will instantly solve the problem for you.

VSCode is retarded, and even though the GUI of IntelliJ's new UI is buggy on especially Wayland, I just use the old one, it's good enough anyway. Also, I only pay $10 a month for my license for Goland. If one splashes out for a year long license, you can use it forever after up to some version.

Not paid by Jetbrains and if I was I would say so. I did have an open source project license for Goland for a while too. You might be able to get that, it basically is free.