microsoft / microsoft/edit

CTRL+F3 to search next occurrence of "current selection" and SHIFT..

Open
#482 7 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-task E-help-wanted
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

Hello! o)

Let me quickly ask for some more "Find" related keyboard shortcuts to make life even more easy. I already like the standard CTRL-.. hotkeys so much in "edit", I think the world needs more of these, so.. o)

  • Find-Next with F3
    Already done, thank you, very nice! o)

  • Find-Previous with SHIFT-F3
    Still missing, would love to see this, even Notepad does it. o)

  • Find-Next-Occurrence CTRL+F3
    This is another standard shortcut we need (I guess). CTRL+F3 is used to search for the next occurrence of what is currently selected in a lot of editors (Editplus, VSCode e.g.). Would be nice to see this implemented as well.

  • Find-Previous-Occurrence SHIFT+CTRL+F3
    Same as above, just search current selection backward, also standard in a lot of editors.

Being able to "find next" or "find previous" occurrence of currently highlighted / selected text is immensely helpful when editing source code or configuration files.

Added 2025-06-21:
Two more issues I noticed:

  • CTRL+F with already selected text, needs "double ENTER"
    needs you to press ENTER and ENTER again to start searching, expected only 1 ENTER.

  • CTRL+F panel does not allow to search reverse
    Using ENTER searches forward (expected) using SHIFT+ENTER does not search reverse, also searches forward (unexpected).

Thank you! o)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the editor's Find panel and keyboard-shortcut handling. Check how F3, CTRL+F, and ENTER currently trigger searches, then verify the requested forward and reverse selection searches and the single-ENTER behavior. Done means the four shortcuts and the two CTRL+F behaviors work consistently for selected text.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.