How to list all the files of a specific extension in a folder in VS Code?
Let us suppose I have a folder with a deep subfolders structure. In that structure there are a lot of files of different extensions like: .html, .ts, .scss. Now I want to get a list of all the files with the .html extension. How can I do that?
Preferably I want not to see the subfolders structure. Just as when I search for a specific word I can limit file types to a specific extension in a specific folder - in this case I am given a list of files, with which I can easily work without a need to expand directories or read through the different from what I need extensions.
Partial solution for the problem is to figure out what patterns one is looking for in the files, then it is possible to use the in files search. E.g. ./pathToMyFolder/**/*.html
. But I just need to open each .html file and I do not have a pattern to look for. And expanding each subdirectory and traversing it makes things really messy and cumbersome for me. Also, there are files with other extensions and filtering them out also takes time.
*.<desired extension>
(i.e *.cs
)