From my rather limited (10 mins) go knowledge func (bar int) string is the signature of a function that takes an int and returns a string. And when the programmer declared it they probably didn't even specify the string and it was inferred.

I was referring to @kugel- 's idea of calling textDocument/documentSymbol and placing the result into the TMTag structures. But here we'd have to deal with server-specific meaning of

	/**
	 * More detail for this symbol, e.g the signature of a function.
	 */
	detail?: string;

and would have to convert it to the form that the rest of TM expects and I really don't think we should have code like

if (clangd) {
...
} else if (pylsp) {
...
} else if (gopls) {
...
}

in Geany (moreover, it may even depend on the server version used).


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3571/c1793502926@github.com>