Skip to content

Make terminal link behavior consistent with the editor#83620

Merged
Tyriar merged 8 commits intomicrosoft:masterfrom
jmbockhorst:followLink
Dec 31, 2019
Merged

Make terminal link behavior consistent with the editor#83620
Tyriar merged 8 commits intomicrosoft:masterfrom
jmbockhorst:followLink

Conversation

@jmbockhorst
Copy link
Contributor

This PR makes the terminal links behavior like the editor. The hover tooltip now has a "Follow Link" link like the editor links. Fixes #77964. Related: #78647.

@Tyriar I set the timeout to 50ms for the leave tooltip and it seems to work reliably for me, but it may need to be tweaked. I also had to allow pointer event on the widget overlay so the widget could receive mouse events, but I'm not sure if this will break anything else.

@jmbockhorst jmbockhorst changed the title Match terminal link behavior with the editor with Follow Link Match terminal link behavior to the editor with Follow Link Oct 30, 2019
@jmbockhorst jmbockhorst changed the title Match terminal link behavior to the editor with Follow Link Make terminal link behavior consistent with the editor Oct 30, 2019
@Tyriar Tyriar self-assigned this Oct 30, 2019
@Tyriar Tyriar added this to the November 2019 milestone Oct 30, 2019
@Tyriar Tyriar modified the milestones: November 2019, January 2020 Dec 31, 2019
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I made some small tweaks but works good.

The main difference now is when you mouse onto the tooltip and then back onto the link in the editor it doesn't hide but in the terminal is hides and displays a new one.

@Tyriar Tyriar merged commit 7493a60 into microsoft:master Dec 31, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add follow link to terminal link hover

3 participants