by ovidnis · 9y ago · 0 comments
All of those features come from editor agnostic golang tools.
In Emacs too. I'd hardly say this is a unique selling point of Go.
"the backends can not always identify what kind of symbol is at point. Especially after a few indirections, they have basically no hope of guessing right, so they don’t"
With go guru it just works, always, no matter how deep you drill into the graph (that's what I meant by "first class").
And while we're on the subject: Only Microsoft had the foresight (or hindsight, insight, whatever) to realize this was a general problem and propose a solution which applies to all editors and all languages:
https://github.com/Microsoft/language-server-protocol
https://github.com/Microsoft/language-server-protocol/wiki/P...
You'd think Google, with their tons of resources could put together a few resources and join a new, future-proof non-NIH standard for Go, but so far they seems to be lagging.
Being able to recognize what a syntactic entity represents -- type or value or whatever -- has been supported by the editor plugins for static languages for a very long time.