genericptr / pascal-language-server

LSP server implementation for Pascal
GNU General Public License v3.0
53 stars 15 forks source link

`textDocument/implementation` doesn't work in code blocks #25

Open genericptr opened 2 years ago

genericptr commented 2 years ago

Now go to implementation will jump to the declaration if you use it on a function call within a code block. Internally it uses CodeToolBoss.JumpToMethod which only works on declarations so we may need to find the declaration first and then call CodeToolBoss.JumpToMethod again on that node.