ant-druha / intellij-powershell

Adds PowerShell language support to IntelliJ-based IDEs.
https://plugins.jetbrains.com/plugin/10249-powershell
Apache License 2.0
71 stars 20 forks source link

Improve the array component resolve #194

Open ForNeVeR opened 6 months ago

ForNeVeR commented 6 months ago

See this TODO comment: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/ide/resolve/PowerShellResolveUtil.kt#L90

And also this: https://github.com/ant-druha/intellij-powershell/blob/0311fe394c50edb324a3867e388bb66b8b24c4ab/src/main/kotlin/com/intellij/plugin/powershell/psi/types/impl/PowerShellArrayClassTypeImpl.kt#L21

Apparently, we can improve something around array resolve. We'll need to identify the use cases for this improvement and finish this TODO.