PhpStorm search looks in PhpStorm application folder

I'm getting a weird bug in PhpStorm -- sometimes when I do a search , I actually turn up results from PhpStorm's install folder -- that is c:\Program Files (x86)\JetBrains\PhpStorm\... etc.

It makes the app unusable for certain searches, such as "ftp" -- I get 100+ results from the actual application folder, which has nothing to do with my project!

Note: this does NOT happen if I search "All Projects", but if I search in a Scope, it returns program files.

Does anyone know how to fix this?  This has to be a bug, right?  I can't imagine why I'd ever want to search PhpStorm's code!

0
1 comment

Hi there,

What scope in particular you are using? Is this built-in or user-created?

What sort of results it returns (if it includes results from "Program Files (x86)\JetBrains\PhpStorm\" in actual results) .. or is it just searches there but not in actual results?

 

So far it might be: you are using built-in scope that includes Libraries .. and PhpStorm stores all built-in stubs in files inside "C:\Program Files (x86)\JetBrains\PhpStorm\" folder (easy: Ctrl+Click on any standard PHP class or function and see what file IDE will open).

If that's so .. then for me it's kind of expected (not 100% sure on this though if it actually meant to work this way by devs) although ideally IDE should not perform search in standard stub files.

1

Please sign in to leave a comment.