Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HoverProvider text using Markdown, URL to file + Line number? #5084

Closed
Janne252 opened this issue Apr 7, 2016 · 5 comments
Closed

HoverProvider text using Markdown, URL to file + Line number? #5084

Janne252 opened this issue Apr 7, 2016 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@Janne252
Copy link

Janne252 commented Apr 7, 2016

I've been using HoverProvider to quickly display the origin file of a user function in Lua.
I'm using the Markdown syntax for creating a clickable link, which opens the file in the editor:

[c:\temp\file.lua](file:c:\temp\file.lua) -> c:\temp\file.lua

I'm wondering if this link syntax also supports line number, and if it does, what is the syntax of it?

I believe this question is also generally related to all places where an extension can display text formatted with Markdown.

@jrieken jrieken added the feature-request Request for new features or functionality label Apr 8, 2016
@jrieken
Copy link
Member

jrieken commented Apr 8, 2016

It's currently not possible, tho I like the idea.

@jrieken
Copy link
Member

jrieken commented Apr 14, 2016

I will handle this as a duplicate of #3676

@jrieken jrieken closed this as completed Apr 14, 2016
@jrieken
Copy link
Member

jrieken commented Apr 14, 2016

@Janne252 You Ok with the github style links using the fragment? Like file:///my/files/test.txt#L42?

@Janne252
Copy link
Author

@jrieken Absolutely, that's short and simple.

@jrieken
Copy link
Member

jrieken commented Apr 14, 2016

deal

@jrieken jrieken added *duplicate Issue identified as a duplicate of another issue(s) and removed *duplicate Issue identified as a duplicate of another issue(s) labels Apr 29, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants