zed icon indicating copy to clipboard operation
zed copied to clipboard

Automatically make clickable any URLs in hint

Open gingerbeardman opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the feature

I can add support for custom hints through definitions: https://github.com/zed-industries/community/discussions/2332

But URLs included in those are not clickable, I have to mark them up as links.

It would be really great if (like VSCode) these links automatically became clickable.

If applicable, add mockups / screenshots to help present your vision of the feature

Screen shot 2023-12-10 at 15 53 57

I can modify the stub.lua to markdown format all URLs to make them clickable in the annotation.

Screen shot 2023-12-10 at 16 03 38

which gives (still slightly broken as the wrapped url is only half-underlined but is still all clickable)

Screen shot 2023-12-10 at 15 57 03

gingerbeardman avatar Dec 10 '23 16:12 gingerbeardman

Thanks for the request @gingerbeardman, this would be a nice quality-of-life feature.

JosephTLyons avatar Dec 11 '23 16:12 JosephTLyons

Links in comments should be clickable too

links

andremacola avatar Jan 27 '24 17:01 andremacola