Skip to content

enable find in the debug console - #225093

Merged
Megan Rogge (meganrogge) merged 7 commits into
mainfrom
merogge/de-bug
Aug 9, 2024
Merged

enable find in the debug console#225093
Megan Rogge (meganrogge) merged 7 commits into
mainfrom
merogge/de-bug

Conversation

@meganrogge

@meganrogge Megan Rogge (meganrogge) commented Aug 7, 2024

Copy link
Copy Markdown
Collaborator

fixes #4338

Follow up work will be:

find.mov

@connor4312 Connor Peet (connor4312) 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.

lgtm

@meganrogge
Megan Rogge (meganrogge) marked this pull request as ready for review August 8, 2024 18:00
@meganrogge
Megan Rogge (meganrogge) enabled auto-merge (squash) August 8, 2024 18:02
@connor4312

Copy link
Copy Markdown
Member

This gets rid of the filter entirely in the view now, right? I'm not sure that's something we'd want to just remove without giving some replacement action in its place, even if it's just an explicit button that opens the find widget

@meganrogge

Copy link
Copy Markdown
Collaborator Author

fixed

Screenshot 2024-08-08 at 1 45 59 PM

@meganrogge

Megan Rogge (meganrogge) commented Aug 8, 2024

Copy link
Copy Markdown
Collaborator Author

I just realized that currently, tree find is limited - it can only highlight matches found in the input.

However, similar to the filter widget, it can filter results based on what is found in the output.

Highlighting matches in the output might be possible when #212077 is accomplished.

Thus, by default, I think we should use filter to keep the behavior the same as before with the option to toggle to find.

@meganrogge
Megan Rogge (meganrogge) merged commit 8f88d20 into main Aug 9, 2024
@meganrogge
Megan Rogge (meganrogge) deleted the merogge/de-bug branch August 9, 2024 00:21
@roblourens

Copy link
Copy Markdown
Member

I wonder about removing the filter box entirely, when the replacement doesn't support all the same features (negative patterns). Any plan to support that in the tree find widget?

@burekas7

burekas7 commented Aug 9, 2024

Copy link
Copy Markdown

Thanks.
I prefer that both features remain, the 'find' and the 'filter'

@meganrogge

Megan Rogge (meganrogge) commented Aug 9, 2024

Copy link
Copy Markdown
Collaborator Author

Ok, sounds good. I'll bring back the filter and will go with the default tree find keybinding, ctrlCmd+alt+f, vs ctrlCmd+f then for this feature.

@seryte

Copy link
Copy Markdown

I hope it works the same as find in terminal

@meganrogge

Copy link
Copy Markdown
Collaborator Author

It does not atm as mentioned on the issue. That is the ultimate goal though

@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Sep 23, 2024
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 Console should support find

6 participants