microsoft/language-server-protocol

Link to navigate to a document at line X column Y in MD documentation (hover)

Open

#379 建立於 2018年1月18日

在 GitHub 查看
 (2 留言) (5 反應) (0 負責人)HTML (956 fork)batch import
completionfeature-requesthelp wantedhover

倉庫指標

Star
 (12,810 star)
PR 合併指標
 (平均合併 19小時 29分鐘) (30 天內合併 12 個 PR)

描述

Eclipse JDT documentation hovers have links to navigate to a document, line X column Y or open document and select a range in it. The link is a hyperlink with some special protocol. The URL handler for this protocol is registered and handles a click as navigate to source code at a position provided in the URL. Many LSP clients (VSCode, Atom and soon Eclipse) have support such URLs. These URL's are special for each client (vscode://, atom:// etc.). If LSP could define some universal format for such URLs (lsp://file:///Users/abv/project/src/Main.java?line=X&column=Y) then clients can convert this URL into client specific URL and provide the behaviour described above from LSP hovers.

貢獻者指南