Gosublime:How does it can show me the function's params informations when it works

257 Views Asked by At

It can work good with sublime text 2,now i want to know the function's params count and type,it only show me the function's return type. The plugin can't do the thing,is there any methods can solve the problem ? or we can modify the code to reach it

1

There are 1 best solutions below

3
On BEST ANSWER

When you start typing, the auto-completion will indeed show you only the return type.

But as soon as you select one (and remember, with Go, you will have only one method with a given name), you will see the function parameters directly in the code.

To get more out of the tooltip presented by GoSublime, you would have to modify the gosubl/mg9.py script.