microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.13k stars 29.28k forks source link

Auto-Fill of Highlighted Text in Go-to-File (CTRL + P) Search #232799

Open freekvlier opened 1 week ago

freekvlier commented 1 week ago

Currently, when text is highlighted and CTRL + F is pressed, the search menu opens with the highlighted text automatically filled as the search term. I would like this functionality extended to the Go menu, so that when I highlight text in a file and press CTRL + P, it automatically searches for files with the selected text as the filename.

wzAtbj commented 2 days ago

i need too

wzAtbj commented 2 days ago

Image Image

I am redefining the shortcut key command, but there is a parameter error prompt。

RedCMD commented 1 day ago

input field should be auto-filled with selectedText

Image