N
N
Nikolino2019-02-16 01:23:35
phpstorm
Nikolino, 2019-02-16 01:23:35

File search based on directory?

How can I search for occurrences in filenames given a directory?
For example, I write in Laravel and organize blade templates into folders. I have templates with an add form called create.blade.php, there are a lot of models (and forms) in the project, a lot of folders (product, employee, category, etc.) and in each folder there are create.blade.php templates. And the templates that display all the objects of the model, I call index.blade.php. As the project grows, there are many create.blade.php and index.blade.php files. It is convenient to navigate through them with the mouse, since all the files are arranged in their folders, according to the models, but I want to speed up the search for files from the keyboard.
If you press ctrl+shift+n and type "create", it finds all files that have create in their names.
7f46bb5059.png
But how do you find a file that has "create" in its name, but is located in the "product" folder inside the resources/views folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2019-02-16
@Nikolino

Searching there is pretty smart:
5c674279a7f61587759888.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question