Skip to content

fix: fallback to editor hover if can't evaluate debug expression - (#169151)#173482

Merged
roblourens merged 8 commits into
microsoft:mainfrom
Viijay-Kr:feat-debug-hover-improvement
Apr 5, 2023
Merged

fix: fallback to editor hover if can't evaluate debug expression - (#169151)#173482
roblourens merged 8 commits into
microsoft:mainfrom
Viijay-Kr:feat-debug-hover-improvement

Conversation

@Viijay-Kr

Copy link
Copy Markdown
Contributor

Closes #169151

As proposed in this comment #169151 (comment), If a expression cannot be evaluated within the active debug context , the normal editor hover is shown.

The above action applies to both keyboard and muse initiated hover action.

@Viijay-Kr Viijay-Kr force-pushed the feat-debug-hover-improvement branch from f62e054 to 9be87c8 Compare February 5, 2023 16:53

@roblourens roblourens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry for the slow review

Comment thread src/vs/workbench/contrib/debug/browser/debugHover.ts
@Viijay-Kr Viijay-Kr force-pushed the feat-debug-hover-improvement branch from 7e91ec9 to 8a976d6 Compare March 27, 2023 16:24
roblourens
roblourens previously approved these changes Mar 28, 2023
Comment thread src/vs/workbench/contrib/debug/browser/debugEditorContribution.ts Outdated
Comment thread src/vs/workbench/contrib/debug/common/debug.ts Outdated
Comment thread src/vs/workbench/contrib/debug/browser/debugHover.ts
Comment thread src/vs/workbench/contrib/debug/browser/debugHover.ts
@Viijay-Kr Viijay-Kr force-pushed the feat-debug-hover-improvement branch from 97d0f42 to 970a610 Compare March 31, 2023 15:55
Comment thread src/vs/workbench/contrib/debug/browser/debugHover.ts Outdated

@roblourens roblourens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just pushed a commit to restore some deleted newlines, and overall it looks great, thanks for the contribution!

@roblourens roblourens enabled auto-merge (squash) April 5, 2023 17:01
@Viijay-Kr

Copy link
Copy Markdown
Contributor Author

Just pushed a commit to restore some deleted newlines, and overall it looks great, thanks for the contribution!

Thanks for the great review

@roblourens roblourens merged commit 222553f into microsoft:main Apr 5, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2023
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.

"Debug: Show Hover" does nothing when triggered from shortcut (but works with mouse)

3 participants