You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (element isPowerShellComponent&& nameHasSubExpression(element)) {//todo it's workaround to resort to findUsage handler because default index does not contain needed tokens
Also, look for the number of this issue in the project code base.
It explains an issue that caused us to rely on the find usages handler instead of the normal code flow in that place. The message from the commit introducing that line (7d1415e) also tries to explain a bit:
if identifier has sub-expression search for references using Find Usages Handler
I don't fully understand what's happening there currently, though: what is a PowerShellComponent? What does "identifier has sub-expression" mean? Is it about "identifiers" such as $script:MyVariable? Why is something not handled by the default flow there?
We should figure it out and either fix or provide a better explanation.
The text was updated successfully, but these errors were encountered:
See the code near this line:
intellij-powershell/src/main/kotlin/com/intellij/plugin/powershell/ide/refactoring/PowerShellRenamePsiElementProcessor.kt
Line 19 in baccc65
Also, look for the number of this issue in the project code base.
It explains an issue that caused us to rely on the find usages handler instead of the normal code flow in that place. The message from the commit introducing that line (7d1415e) also tries to explain a bit:
I don't fully understand what's happening there currently, though: what is a
PowerShellComponent
? What does "identifier has sub-expression" mean? Is it about "identifiers" such as$script:MyVariable
? Why is something not handled by the default flow there?We should figure it out and either fix or provide a better explanation.
The text was updated successfully, but these errors were encountered: