Is there a way to search for text in all files in a directory using VS Code?
I.e., if I type \"find this\" in my search, it will search through all the files in the
Select your folder, Press ⌥ + ⇧ + F Don't know about windows but this works for mac :)
In order to search only in one folder, you have to click on it and press Alt
+ Shift
+ F
.
When you use Ctrl
, VS Code looks in all project.
What is NOT so obvious is that you can use the following pattern to recursively search
./src/**/*.html
so perhaps leave the following as the default for most of your typical searches to remind that there is such a thing
./src/**/
For example I was after an attribute for left-right justify/docking content, I could not remember except "start" so I did the following search which reveals to me "item-start"
This fixed my layout to
Instead of
Here is where "item-sart" goes in the template.