Closed aviatesk closed 4 years ago
We should be able to convert those paths into clickable links, no? This is interpreted as markdown by VSCode after all.
no, I tried that at first, but LSP doesn't support MarkdownString
, which can make links to invoke vscode commands:
It actually only supports MarkedString
(deprecated in vscode side) and MarkupContent
currently: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_hover
So a normal markdown link like [show.jl:2256](~/blah/show.jl:2256)
doesn't work?
ops, vscode seems to automatically handles those links (i.e. open editors in vscode). Will try to improve.
But making those links should be done in LangaugeServer.jl side, so I think this PR can be merged as is.
make it more consistent with Base's print: