ocaml-lsp icon indicating copy to clipboard operation
ocaml-lsp copied to clipboard

[Feature request] Display/honor cross references in documentation

Open sir4ur0n opened this issue 4 years ago • 0 comments

First, thank you for the work on this project, I'm starting to use it seriously and I am enthusiast about it now that I took time to configure my LSP :smile:

I could not find an issue about this, so here goes nothing: Could OCaml LSP support cross references in documentation?

I am talking about this in particular:

(** Lorem ipsum {!val:Foo.Bar.t} bla bla *)

I see that it already supports regular links (e.g. {{: https://www.google.com} Google}) (visually this is similar, but I guess this is completely different to link to another file/line than on a website).

It would be awesome to be able to click, and/or to be able to use find definition when cursor is on such an element to navigate to it

sir4ur0n avatar May 05 '21 08:05 sir4ur0n