79
votes
  1. Eclipse has this feature where you can search any file in your folder. Is there any such feature in PhpStorm?

  2. Is there a shortcut for indentation and how can I customize that?

Googled it, but no results.

5
@zzlalani:you can check if you want,there are no results for searching file.. - HIRA THAKUR
and when I searched it how to search a keyword in file in phpstorm? google.com/… - zzlalani
In the bottom they says Note: Use Ctrl+Shift+F and Ctrl+Shift+R to toggle between the Find In Path and Replace In Path dialog boxes - zzlalani
@zzlalani, He wants to search the files not the content inside the files. - Shankar Damodaran
Did you want to search FOR a file, or search the contents of all files within a folder? - Chuck Le Butt

5 Answers

114
votes

From the Menu of PHPStorm Choose Navigate -> File or use the shortcut ALT+SHIFT+O or CMD+SHIFT+O or CTRL+SHIFT+N (as per the edit). Type the required file name you want to search. Done.

Screenshot for your understanding.

enter image description here

42
votes

In Phpstorm version 7.1.2 you need to go to Navigate -> File... or press Ctrl+Shift+N

10
votes

Ctrl+Shift+N - search in whole project, that is minus. If you need to search in some specific folder, you can use the "File mask:"

Press Ctrl+Shift+N and in the right top corner you will have this field. Look at the screenshot.

enter image description here

4
votes
  1. On the main menu, choose Edit | Find | Find in Path, or press Ctrl+Shift+F (see http://www.jetbrains.com/phpstorm/webhelp/finding-and-replacing-text-in-project.html)

  2. On the main menu, choose Code | Reformat Code, or press Ctrl+Alt+L (see http://www.jetbrains.com/phpstorm/webhelp/reformatting-source-code.html)

2
votes

Another and easy way would be to press double Shift on Linux or Windows. It would open a search bar and from there select file. More over exact short cut can be found(as told above) by Nagivigation>Find.