We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PsiFile.getAssociatedPsiHelper()
Describe the bug Froward from @Vladislav0Art:
This object may be removed completely if we implement the getPsiHelper as an extension method of PsiFile:
fun PsiFile.getAssociatedPsiHelper(): PsiHelperInterface { return when (this) { is PsiJavaFile -> JavaPsiHelper() // TODO: kotlin later else -> throw IllegalArgumentException("Unsupported file type") } }
It is advisable to remove it, as it will reduce the number of entities in the application, especially since PsiHelperGetter is a one-method object.
The text was updated successfully, but these errors were encountered:
Frosendroska
No branches or pull requests
Describe the bug
Froward from @Vladislav0Art:
This object may be removed completely if we implement the getPsiHelper as an extension method of PsiFile:
It is advisable to remove it, as it will reduce the number of entities in the application, especially since PsiHelperGetter is a one-method object.
The text was updated successfully, but these errors were encountered: