Skip to content

[CLOSED] Search should not clear the last searched term #10566

@core-ai-bot

Description

@core-ai-bot

Issue by felipenmoura
Thursday Mar 24, 2016 at 00:57 GMT
Originally opened as adobe/brackets#12323


Just an enhancement that I think could be in Brackets, not in an extension:

Steps:

  • You open the FindBar
  • You type "something" and doFind
  • You close the FindBar
  • You open the FindBar again

What should happen:
It should reopen with the last searched term.

What happens:
The input in the FindBar comes empty.

Opinion:
I say that because I use the keyboard almost all the time and hit:

  • Cmd+F
  • type
  • enter (and go next until I find what I want)
  • ESC (closes the FindBar)

I use esc to get back to the source code, where the last "match" left my cursor.

I believe the Search tool should open with the last searched term on it, or we could have a shortcut to move the focus/cursor from the search input into the source code, not closing the FindBar.

TAB kinda does it...it does close the FindBar, but when we hit cmd+F, it reopens with the last value.
But even using TAB, if I type something in the code, hitting cmd+F brings the FindBar with a clean input again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions