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

Uri to jump to a specific line in file #10598

Closed
mt40 opened this issue Aug 17, 2016 · 2 comments
Closed

Uri to jump to a specific line in file #10598

mt40 opened this issue Aug 17, 2016 · 2 comments
Assignees

Comments

@mt40
Copy link

mt40 commented Aug 17, 2016

Hi,
Currently I am writing an extension that will output a file path and line number to an OutputChannel. Something like this:

From file: c:\code.java Line 64

vscode turns the file path into a link leading to a file and that is nice. However, I wonder if there is a way to combine the "Line 64" part too. Something like:

From file: c:\code.java:line=64

Clicking this link will open the code.java file and move the cursor to the start of line 64.

@bpasero
Copy link
Member

bpasero commented Aug 17, 2016

Thanks for reporting this issue. Please use the issue search next time to see if there is a duplicate already. In this case, the issue has already been reported.

@bpasero bpasero closed this as completed Aug 17, 2016
@mt40
Copy link
Author

mt40 commented Aug 18, 2016

Ok, found it #586

@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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants