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

Link-check from within the editor #1153

Closed
warbe-maker opened this issue Nov 22, 2024 · 5 comments
Closed

Link-check from within the editor #1153

warbe-maker opened this issue Nov 22, 2024 · 5 comments
Assignees

Comments

@warbe-maker
Copy link

Is there any way to perform a Link-Check from within the editor? I was looking for a menu-item but couldn't find one. I would be happy if there's any other means available to do this within the editor but I couldn't find anything in the help documentation.Sorry in case I've just overlooked something.

@RickStrahl
Copy link
Owner

No there's no such thing, although that might be interesting to think about in the future.

You can Ctrl-Click links to navigate - that's effectively your link check 😄

@RickStrahl RickStrahl self-assigned this Dec 10, 2024
@RickStrahl
Copy link
Owner

I've been thinking about this a bit and played around with finding links.

Haven't quite figured out how to display those links.

What I would like to see is:

  • List of all links grouped by success and failure links
  • Links should navigate to the location they're referenced
  • Links should also have an option to navigate:
    • navigate to Web links
    • images should preview for local links

@warbe-maker
Copy link
Author

warbe-maker commented Dec 12, 2024 via email

@RickStrahl
Copy link
Owner

So I have an implementation of this working. Still a bit rough but the core functionality is there.

CheckDocumentLinks

Some features:

  • Keeps in sync with document while active
  • Tracks changes as you type
  • Reloads when switching documents
  • Explicit refresh button to force full reload
  • Checks Web Http, Local file and document links
  • Click to navigate to link reference in document
    (from there you can control click to navigate link)
  • On Tools -> Check Document Links
  • Command Palette: Check Document Links

There are still some UI oddities and the refresh is in need of some optimizations to avoid checking links that have not changed.

@warbe-maker
Copy link
Author

This looks definitely even more promising than expected. A great job done already. I'm looking forward to an update which includes this feature. Thank you so much.

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

No branches or pull requests

2 participants