You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree this would be handy. Also in the ouptut of style_pkg() and the like, where all files are enumerated. Even more generally, having clickable output might be desirable, e.g. also in styler:::ask_to_switch_to_non_default_cache_root_impl()'s output (to help file) and others. Contributions welcome.
lorenzwalthert
changed the title
FR: use hyperlink to indicate where styler failed.
FR: Clickable links in CLI output
May 24, 2023
I was wondering if it would be possible to have a clickable link to a styler error, using cli.
cli::cli_text("{.file file.R:2}")
Creates a link to file.R at line 2.
https://cli.r-lib.org/reference/links.html?q=file%20lin#line-and-column-numbers
It could be quite handy for a large file
The text was updated successfully, but these errors were encountered: