Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHPStorm exclude files by mask from indexing

Tags:

phpstorm

I'm having a PHP project that for some reason (not my initiative) has some backup files like "somefile - backup.php". How do I exclude "%backup%.php" from indexing?

like image 253
Konstantin Bodnia Avatar asked Jun 18 '13 11:06

Konstantin Bodnia


People also ask

How do I stop PhpStorm from indexing?

You can stop synchronizing/indexing each time you switch to the IDEA and it's quite useful when dealing with big projects and outside build process which triggers indexing. Just disable checkbox System Settings -> Synchronize files on frame or editor tab activation .

How do I use IntelliJ file mask?

Search in the specific file typesIn the Find in Files dialog, select the File Mask checkbox and from the list of file types, select the one you need. IntelliJ IDEA limits its search to the specified type. If you don't find the file type you need in the list, enter your file type in the File Mask field.

How do I search for a directory in PhpStorm?

From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.


1 Answers

"Settings > File Types > Ignore file and folders" and add the path of the folder.

Example: *.lib;client/build;

This worked for me to ignore a folder.

like image 105
otaviodecampos Avatar answered Oct 28 '22 06:10

otaviodecampos