3 ms·
One of my required features is seeing the method signature when my cursor is on the method name; I don't want to have to enter a command to see the signature. I
by sethammons 11y ago
One of my required features is seeing the method signature when my cursor is on the method name; I don't want to have to enter a command to see the signature. In sublime, the bottom bar will passively show me `func Unmarshal(data []byte, v interface{}) error` when I cursor over json.Unmarshal. I'd really like it if it also showed me the type of the variable I was cursored over, but I digress. Is this possible in your extension?
- lukehoban 11y agoYes - the vscode-go extension will show you function signatures (and type definitions and other symbol definitions) on hover. If you hold down `cmd`/`ctrl` during hover you additionally get a preview of the definition source code (signature and implementation).