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

PowerShellReferenceResolveProcessor should navigate to closest declaration #193

Open ForNeVeR opened 6 months ago

ForNeVeR commented 6 months ago

See this comment in PowerShellReferenceResolveProcessor: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/ide/resolve/PowerShellResolver.kt#L41

Also, look for the number of this issue in the project code base.

Let's investigate what this comment means and what's the current behavior of the resolve processor navigation. Is it really missing anything? I'm not currently sure about the contract of this component, but we have to figure it out.