Skip to content

Find: No find history #29708

Closed
Closed

Description

@egamma

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.

Activity

  1. added
    terminal
    on Jun 28, 2017
  2. changed the title [-]No find history[/-] [+]Find: No find history[/+] on Jun 28, 2017
  3. added
    feature-request
    on Jun 28, 2017
  4. added this to the Backlog milestone on Jun 28, 2017
  5. added
    help wanted
    on Jul 7, 2017
  6. cleidigh commented on Jul 22, 2017

    @cleidigh
    Contributor

    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?

  7. Tyriar commented on Jul 23, 2017

    @Tyriar
    Contributor

    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.

  8. cleidigh commented on Jul 23, 2017

    @cleidigh
    Contributor

    Daniel Imms (@Tyriar)
    Sounds like adding these key bindings is worthwhile in the meantime?

  9. Tyriar commented on Jul 24, 2017

    @Tyriar
    Contributor

    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).

  10. cleidigh commented on Jul 24, 2017

    @cleidigh
    Contributor

    Daniel Imms (@Tyriar)
    I will add the find history after I do the next and previous keyboard shortcuts

  11. cleidigh commented on Jul 25, 2017

    @cleidigh
    Contributor

    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.

  12. cleidigh commented on Jul 27, 2017

    @cleidigh
    Contributor

    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?

  13. Tyriar commented on Jul 28, 2017

    @Tyriar
    Contributor

    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?

  14. cleidigh commented on Jul 28, 2017

    @cleidigh
    Contributor

    Daniel Imms (@Tyriar)
    Peng Lyu (@rebornix)
    I already have an implementation.

  15. 5 remaining items

  16. added
    editor-find
    and removed
    help wanted
    on Jul 31, 2017
  17. cleidigh commented on Jul 31, 2017

    @cleidigh
    Contributor

    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

  18. rebornix commented on Jul 31, 2017

    @rebornix
    Contributor

    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?

  19. cleidigh commented on Jul 31, 2017

    @cleidigh
    Contributor

    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.

  20. added
    help wanted
    on Aug 25, 2017
  21. removed their assignment
    on Aug 25, 2017
  22. weinand commented on Aug 30, 2017

    @weinand
    Contributor

    Peng Lyu (@rebornix) since this is a closed feature request, please add either 'on-testplan' or 'verification-needed' label.

  23. added
    verification-needed
    and removed
    verification-needed
    on Aug 30, 2017
  24. rebornix commented on Aug 30, 2017

    @rebornix
    Contributor

    Andre Weinand (@weinand) thanks for the notification. It's already covered in test plan.

  25. locked and limited conversation to collaborators on Nov 17, 2017
  26. added a commit that references this issue on Sep 6, 2026
    f8f17f4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-findfeature-requesthelp wantedon-testplanterminal

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions