0

I know that it is possible to search files by their contents by clicking at the hourglass on the left side; I also know that it is possible to search for files by their name by using Ctrl+p or Ctrl+e.

The problem is: I need to do both. I need to, for example, search for some specific text, but only inside '*.ts' files.

Is there a way to do this inside Visual Studio Code?

Haroldo_OK
  • 6,612
  • 3
  • 43
  • 80

1 Answers1

1

There is a button under regex in global search: "Toggle Search Details" (ellipsis)

enter image description here

Alex
  • 59,571
  • 22
  • 137
  • 126