denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

Add interactive links to symbols in the code #2098

Closed KnorpelSenf closed 1 year ago

KnorpelSenf commented 2 years ago

We already have TypeScript and we have the necessary tooling to analyse where a symbol is defined.

It would be amazing if we had a simple go-to definition functionality in the website. In other words, clicking on a type annotation with an interface Q will open the file containing the definition of Q and scroll to the line of code.

This is probably a lot of work, but IMO it's also a lot of benefit.

KnorpelSenf commented 2 years ago

It would also be nice to have tooltips with the JSDoc of the element when hovering above it.

crowlKats commented 1 year ago

Closing as this is implemented