Skip to content

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Mar 10, 2024

Fixes #74

Supersedes #75

Using a different approach, with most of the code change occurring in the print method.

However, to make it a bit more efficient and less clunky, I need the full file names.. The function looks ugly, but I tried using the existing output as much as possible. I built my method based on the following nested data frame / structure.

  tibble::tibble(
     file = c("file1", "file2"),
     word = list(file1 = c("aa", "bb"), file2 = c("cc")),
     line = list(file1 = list(aa = c(1, 3), bb = c(1)), file2 = list(cc = c(1, 2)))
 )

Let me know if you prefer this approach!

Example output
Capture d’écran, le 2024-03-10 à 5 48 05 p m

@olivroy olivroy changed the title Support cli hyperlinks Support clickable hyperlinks to spelling errors Mar 11, 2024
@olivroy
Copy link
Contributor Author

olivroy commented Jun 28, 2024

@jeroen Just a friendly reminder! Let me know if you want me to rework this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FR: Use clickable hyperlinks in spell_check_*()

1 participant