Since I just came across this: In 2025, pressing the "Search: Find in Files" shortcut while text is selected in the editor automatically searches for the selection content.