Closed Koc closed 6 years ago
libraries are inside allScope
GlobalSearchScope.getScopeRestrictedByFileTypes(GlobalSearchScope.allScope(project), TwigFileType.INSTANCE))
GlobalSearchScope.allScope(project)
FileBasedIndex.getInstance().getContainingFiles(EventAnnotationStubIndex.KEY, eventName, GlobalSearchScope.allScope(project))
thanx @Haehnchen, you are the best as always 👍
More info about "Add packages as libraries" setting https://www.jetbrains.com/help/phpstorm/using-composer-dependency-manager.html
@enriquepiatti please fix
@Koc this is actually a problem with "Intentions" not with Libraries, Magicento2 is searching on libraries too (there is also a new setting in v1.7.0 to control this on Magicento2 settings). But this should be solved now (since v1.7.0) because Intentios are now also available as Magicento2 actions (ALT+M), so instead of using the intention shortcut (ALT+ENTER) you should use ALT+M in this case (both things are doing the same anyway).
I've configured composer plugin:
after this all vendor folders added to ignore list
it is normal case. In fact they are properly indexed by phpstorm (for example Symfony2 plugin works ok with same composer settings). But there is no item create plugin in menus:
alt+enter
does nothing.alt+ins
alt+m
There is no any final method in class.
When I've removed
module-catalog
folder from ignored path - menu item returns onalt+enter
.alt+ins
for plugins, for example?