neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

Feature Request: Go to source definition #437

Closed minhchu closed 10 months ago

minhchu commented 11 months ago

Not sure to put this issue in this repo or in coc.nvim :sweat_smile:

It’s similar to Go To Definition, but it never returns results inside declaration files. Instead, it tries to find corresponding implementation files (like .js or .ts files), and find definitions there — even if those files are normally shadowed by .d.ts files.

https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#go-to-source-definition

fannheyward commented 11 months ago

https://github.com/neoclide/coc-tsserver/issues/383

minhchu commented 10 months ago

Thanks !