dylan-lang / lsp-dylan

Language Server for Dylan (alpha)
MIT License
8 stars 2 forks source link

Improve textDocument/definition #14

Closed pedro-w closed 1 year ago

pedro-w commented 1 year ago

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!