Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>quick-open-prefill-selectionNew to Visual Studio Code? Get it now.
quick-open-prefill-selection

quick-open-prefill-selection

ColCh

|
2,226 installs
| (5) | Free
Prefills quick open with selected text
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

quick-open-prefill-selection

VS Code extension which adds command that will open Quick Open window prefilled with selected text

Demo video

(works in vscode web too)

Imgur

Extension Settings

Open your keybindings.json and add this keybinding:

{
    "key": "cmd+p",
    "command": "extension.quickOpen.withPrefill",
    "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
}

Release Notes

See CHANGELOG for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft