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

Feature request: Use hyperlinks when quitting (errors in qmd / Rmd) #2153

Open
olivroy opened this issue Jul 29, 2022 · 5 comments
Open

Feature request: Use hyperlinks when quitting (errors in qmd / Rmd) #2153

olivroy opened this issue Jul 29, 2022 · 5 comments
Labels
feature Feature requests next Issues/PRs considered for the next release

Comments

@olivroy
Copy link

olivroy commented Jul 29, 2022

Hi, I was wondering if there could be some hyperlinks like the cli styled hyperlinks when there are errors knitting

Example
Quitting from lines 492-501 (file.Rmd/qmd)
Error: ....

Would it be possible to make 492 clickable in the Background Jobs tab? That way, it would only require one click to go to the location of the error.

@cderv
Copy link
Collaborator

cderv commented Jul 29, 2022

This is definitely something we plan to have a look into following the new support in the IDE for this.

@cderv cderv added next Issues/PRs considered for the next release feature Feature requests labels Jul 29, 2022
@yihui
Copy link
Owner

yihui commented Jul 29, 2022

Yes, we'll add support for that. Thanks for the suggestion!

@yihui yihui moved this to To discuss in R Markdown Team Projects Jul 29, 2022
@cderv cderv moved this from To discuss / To plan to Backlog in R Markdown Team Projects Sep 13, 2022
@cderv cderv moved this from Backlog to To discuss / To plan in R Markdown Team Projects Sep 13, 2022
@cderv cderv moved this from To discuss / To plan to Backlog in R Markdown Team Projects Sep 27, 2022
@cderv
Copy link
Collaborator

cderv commented Mar 1, 2023

Follow recommandations at https://cli.r-lib.org/reference/links.html#files

@cderv
Copy link
Collaborator

cderv commented Mar 1, 2023

Possibly URL have been deactivated when inside R Markdown context (r-lib/cli#581) so maybe it won't work of we need to find a way to reactivate it. Need to try cc @hadley

@hadley
Copy link
Contributor

hadley commented Mar 1, 2023

I think this probably needs to start with the IDE team, because IIRC, clickable urls don't work in the render pane.

yihui added a commit to yihui/litedown that referenced this issue May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature requests next Issues/PRs considered for the next release
Projects
None yet
Development

No branches or pull requests

4 participants