About search functionality in Visual Studio Code 1.54

Viewed 82

Moving into Visual Studio Code 1.54 from PHPStorm in Laravel project and reading manuals I did not find some features with search functionality:

  • When I search in file and last item is found is it possible to notify about Last item and maybe move to first found element in the file?
  • Has search functionality predefined dirs in scopes(or in some other way) like PHPStorm has

Thanks!

1 Answers

Control-Shift-F does a workspace-wide search, and it shows 3 text boxes:

  1. The text to search for
  2. Files to include. This is where you type in directory paths (make sure they start with ./), like ./mydir or ./mydir/subdir/
  3. Files to exclude. Again, you can specify directory paths.

After you start the search you will see a pane fill with all the matches. PHPStorm/IDEA works similarly.

BTW, Control-Shift-H does a workspace-wide search-and-replace, and it works similarly.

Related