-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Find: No find history #29708
Comments
@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. |
@Tyriar |
@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). |
@Tyriar |
@Tyriar |
@Tyriar Seems like I should modify the webviewfindwidget with these changes also as separate PR, yes? |
@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. @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? |
@Tyriar
|
@Tyriar
If the approach shown in the repository and PR are good for you guys I will post the other PRs, issues relative to the web view. After these PR 's all simple find widgets will be the same. They will only lack abstract class ExtensionEditorCommand extends Command {
} class ShowExtensionEditorFindCommand extends ExtensionEditorCommand { |
@Tyriar moving things into a shared component between editor and others is the right solution to me, especially when the search viewlet has the same feature. @cleidigh I like your proposals. Right now we call it simple find widget as it lacks quite a few functionalities comparing to the one in Monaco but I'd like to have them merged as they should be just options to enable/disable instead of having a new component. We need to do some abstraction similar to how we share Find Input Box. I'm not sure yet if we want to refactor webview/extensions editor at this moment. Do you mind if I do some refactoring on the find widget part as you already did some work there? |
@rebornix |
@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? |
@rebornix |
@rebornix since this is a closed feature request, please add either 'on-testplan' or 'verification-needed' label. |
@weinand thanks for the notification. It's already covered in test plan. |
Testing #29479
The find widget in the editor provides a find history (alt+up/alt+down), there is currently no such support in the terminal.
The text was updated successfully, but these errors were encountered: