简体   繁体   中英

How to search a file in PhpStorm?

  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.

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.

在此输入图像描述

Phpstorm版本7.1.2中,您需要转到导航 - >文件...或按Ctrl + Shift + N.

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.

在此输入图像描述

  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 )

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM