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

🎁 Add "Remove expression" as an action bar command to debug watch expressions #152861

Merged
merged 4 commits into from
Jun 22, 2022

Conversation

babakks
Copy link
Contributor

@babakks babakks commented Jun 22, 2022

This PR fixes #152642

The action bar command "Remove Expression" is added to the watch expressions tree:

fix

@babakks babakks marked this pull request as ready for review June 22, 2022 13:15
/**
* Gets a context key overlay that has context for the given expression.
*/
function getContextForWatchExpressionMenu(parentContext: IContextKeyService, expression: IExpression, additionalContext: [string, unknown][] = []) {
Copy link
Member

Choose a reason for hiding this comment

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

Looks like expression and additionalContext are unused

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right. Just removed them.

@roblourens roblourens added this to the June 2022 milestone Jun 22, 2022
@roblourens
Copy link
Member

This is great, thanks!

@roblourens roblourens merged commit f37b481 into microsoft:main Jun 22, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2022
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.

Allow deleting watch entries with a single click
3 participants