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

Support clickable hyperlinks to spelling errors #81

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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