Skip to content

Eliminate deprecated FilenameIndex#getVirtualFilesByName method usage #1031

@bohdan-harniuk

Description

@bohdan-harniuk

Is your feature request related to a problem? Please describe.

The com.intellij.psi.search.FilenameIndex#getVirtualFilesByName(com.intellij.openapi.project.Project, java.lang.String, com.intellij.psi.search.GlobalSearchScope) method is deprecated. It is used in the: com.magento.idea.magento2plugin.reference.provider.FilePathReferenceProvider#getReferencesByElement.

Describe the solution you'd like (*)

  1. Eliminate usage of deprecated method.
  2. Do code refactoring of the file (just semantic refactoring, do not break the logic)

Mainline branch: 4.3.0-develop

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions