You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
editor-findEditor find operationsfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitieson-testplanterminalGeneral terminal issues that don't fall under another label
Christopher Leidigh (@cleidigh) yep, ideally the editor and terminal find act as close to one another as possible. Also note that the webview find dialog relies on the same widget (Help > Release Notes, ctrl+f).
Daniel Imms (@Tyriar)
Quick question
It appears it will be necessary to duplicate history code from the main Find widget. Is this okay?
I assume this can be re- factored when a base Find widget can be done that will work in both situations.
Daniel Imms (@Tyriar)
I know you guys are in end game so I know this will wait till later, just FYI:
I added find history to the simple find widget with support in the terminal widget
but I will wait to do a PR until after the next /previous PR is done since it's all the same files.
Seems like I should modify the webviewfindwidget with these changes also as separate PR, yes?
Christopher Leidigh (@cleidigh) I would hope the majority of the history code is kept within the component that's shared between the terminal and the webview. I guess with keybindings being the main part outside.
Peng Lyu (@rebornix) any advice on the right way of adding find history? Are we moving towards just sharing everything between the editor, terminal and webview? Is that an option?
Peng Lyu (@rebornix)
Just to be clear I already have 95% done including the parallel work on webview and extension editor.
As part of the work done I have done re- factoring of the simple find widget to support
both next and previous find as well as find history. The only thing I am almost done on is adding a
find input FocusContext so the history key bindings only take effect in the input box.
I think I have everything pretty clean, I just have not posted the total solution since it's somewhat sequential.
How about I post my repository with everything I have so nothing gets duplicated work wise ?
I agree about making the find combined, I would be happy to work on that since it makes the most sense.
Let me know how you would like me to proceed.
Cheers
Christopher Leidigh (@cleidigh) I'll put this on my iteration plan for August. Let's start all the work from your pull request as you are almost done there and then I'll see what I can help, make sense?
Peng Lyu (@rebornix)
Okay, it sounds like I should combine everything into one PR.
if you like that, I will actually post a new PR representing the combined work AND getting up-to-date.
I'm hoping that by inspection I've got everything in a layered manner you like.
editor-findEditor find operationsfeature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitieson-testplanterminalGeneral terminal issues that don't fall under another label
Activity
[-]No find history[/-][+]Find: No find history[/+]cleidigh commentedon Jul 22, 2017
Erich Gamma (@egamma)
Daniel Imms (@Tyriar)
Is there any reason not to have the full Find Widget with case sensitivity and regex?
Would xterm prevent this?
Tyriar commentedon Jul 23, 2017
Christopher Leidigh (@cleidigh) no reason, I hope to eventually close the gap but it's not the highest priority thing for me. A bunch of improvements are laid out in #28768, most of these would need changes in both https://github.com/sourcelair/xterm.js and vscode.
Find history only needs changes in vscode though.
cleidigh commentedon Jul 23, 2017
Daniel Imms (@Tyriar)
Sounds like adding these key bindings is worthwhile in the meantime?
Tyriar commentedon Jul 24, 2017
Christopher Leidigh (@cleidigh) yep, ideally the editor and terminal find act as close to one another as possible. Also note that the webview find dialog relies on the same widget (Help > Release Notes, ctrl+f).
cleidigh commentedon Jul 24, 2017
Daniel Imms (@Tyriar)
I will add the find history after I do the next and previous keyboard shortcuts
cleidigh commentedon Jul 25, 2017
Daniel Imms (@Tyriar)
Quick question
It appears it will be necessary to duplicate history code from the main Find widget. Is this okay?
I assume this can be re- factored when a base Find widget can be done that will work in both situations.
cleidigh commentedon Jul 27, 2017
Daniel Imms (@Tyriar)
I know you guys are in end game so I know this will wait till later, just FYI:
I added find history to the simple find widget with support in the terminal widget
but I will wait to do a PR until after the next /previous PR is done since it's all the same files.
Seems like I should modify the webviewfindwidget with these changes also as separate PR, yes?
Tyriar commentedon Jul 28, 2017
Christopher Leidigh (@cleidigh) I would hope the majority of the history code is kept within the component that's shared between the terminal and the webview. I guess with keybindings being the main part outside.
Peng Lyu (@rebornix) any advice on the right way of adding find history? Are we moving towards just sharing everything between the editor, terminal and webview? Is that an option?
cleidigh commentedon Jul 28, 2017
Daniel Imms (@Tyriar)
Peng Lyu (@rebornix)
I already have an implementation.
https://github.com/cleidigh/vscode/tree/terminal-find-history/add
5 remaining items
cleidigh commentedon Jul 31, 2017
Peng Lyu (@rebornix)
Just to be clear I already have 95% done including the parallel work on webview and extension editor.
As part of the work done I have done re- factoring of the simple find widget to support
both next and previous find as well as find history. The only thing I am almost done on is adding a
find input FocusContext so the history key bindings only take effect in the input box.
I think I have everything pretty clean, I just have not posted the total solution since it's somewhat sequential.
How about I post my repository with everything I have so nothing gets duplicated work wise ?
I agree about making the find combined, I would be happy to work on that since it makes the most sense.
Let me know how you would like me to proceed.
Cheers
rebornix commentedon Jul 31, 2017
Christopher Leidigh (@cleidigh) I'll put this on my iteration plan for August. Let's start all the work from your pull request as you are almost done there and then I'll see what I can help, make sense?
cleidigh commentedon Jul 31, 2017
Peng Lyu (@rebornix)
Okay, it sounds like I should combine everything into one PR.
if you like that, I will actually post a new PR representing the combined work AND getting up-to-date.
I'm hoping that by inspection I've got everything in a layered manner you like.
weinand commentedon Aug 30, 2017
Peng Lyu (@rebornix) since this is a closed feature request, please add either 'on-testplan' or 'verification-needed' label.
rebornix commentedon Aug 30, 2017
Andre Weinand (@weinand) thanks for the notification. It's already covered in test plan.
History navigation for Find Widget in webview. Fix microsoft#29708.