-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Improve LinkDetector #81336
Improve LinkDetector #81336
Conversation
I really really like this work. I just left one minor comment in the code. I did not code review the |
959677b
to
3d44ddd
Compare
- recognizes web urls; - checks that file path exists; - supports relative to workspace root paths (./foo); - supports relative to home dir paths (~/foo); - optional line/column; - smoke test.
3d44ddd
to
367a5a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this sounds good to me. I did address the comments.
There was a small change in behavior - we don't wrap text with extra span
when not required. From manual testing, I didn't find any issues with that.
Great, thanks for addressing the comments. Merging this in so we start self hosting on it already. |
@isidorn Could you please take a look? This implements some improvements. We can try to unify with terminal link handling, however it doesn't seem to be straightforward because the control flow is very different.