Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quick Open PrefillNew to Visual Studio Code? Get it now.
Quick Open Prefill

Quick Open Prefill

Enrico Luz

|
127 installs
| (0) | Free
Provides a command to prefill the quick open dialog with the current selection.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

quick-open-prefill

Provides a command to prefill VSCode's quick open dialog with the current selection.

Features

In order to maximize chances to find a match, the extension will replace non-word characters with spaces, benefiting from VScode's fuzzy match.

This might help:

  • jumping to the file containing a module/class definition
  • jumping to a file referenced in your code

Extension Settings

Add the following to your keybindings.json to override current quick open behaviour:

{
  "key": "cmd+p",
  "command": "quick-open-prefill.quickOpenWithSelection",
  "when": "editorTextFocus && editorHasSelection && !editorHasMultipleSelections"
}

Release Notes

See CHANGELOG.md.

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