Skip to content

Class completion doesn't display interfaces. #502

@danslo

Description

@danslo

Describe the bug (*)

Class completion (primarily in di.xml files), only lists concrete classes, not interfaces.

To Reproduce (*)

Steps to reproduce the behavior:

  1. Create a di.xml file.
  2. Start by typing <preference for=".
  3. Type a name of a known existing interface (for example, ProductInterface).
  4. Only classes like ProductInterfaceFactory, ProductInterfaceTypeResolverComposite, etc. show up. Magento\Catalog\Api\Data\ProductInterface is not visible.

Expected behavior (*)

Interfaces are also autocompleted.

Screenshots

interfaces

Please complete the following information: (*)

  • OS: Ubuntu 20.10
  • PhpStorm/Intellij version: 2020.3.2
  • Plugin Version: 3.1.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions