Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate deprecated FilenameIndex#getVirtualFilesByName method usage #1031

Closed
bohdan-harniuk opened this issue Mar 16, 2022 · 2 comments · Fixed by #1037
Closed

Eliminate deprecated FilenameIndex#getVirtualFilesByName method usage #1031

bohdan-harniuk opened this issue Mar 16, 2022 · 2 comments · Fixed by #1037

Comments

@bohdan-harniuk
Copy link
Collaborator

bohdan-harniuk commented Mar 16, 2022

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

@m2-assistant
Copy link

m2-assistant bot commented Mar 16, 2022

Hi @bohdan-harniuk. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


@doninAtwix
Copy link
Contributor

@magento I am working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants