The textDocument/definition command (M-. in emacs) now shows a list when applied to a symbol which is bound to a generic function. The first item is the generic function itself and the rest are the specific methods. The user can choose and jump to any. For other symbols it will jump to the one and only definition.
This PR also adds support for textDocument/declaration which jumps directly to the generic function declaration.
The
textDocument/definition
command (M-. in emacs) now shows a list when applied to a symbol which is bound to a generic function. The first item is the generic function itself and the rest are the specific methods. The user can choose and jump to any. For other symbols it will jump to the one and only definition.This PR also adds support for
textDocument/declaration
which jumps directly to the generic function declaration.This will need extensive testing!