intellij-powershell
intellij-powershell copied to clipboard
Adds PowerShell language support to IntelliJ-based IDEs.
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/test/resources/testData/parser/PathExpression.ps1#L30 So, this is in a test that checks how the command arguments are parsed. We should check if the comment corresponds to the...
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/test/resources/testData/parser/StdCmdlets.ps1#L13 So, it is a test chat's supposed to check variable passing to the `Clear-Item` cmdlet. Currently, it is not parsed as a variable...
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...
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/psi/impl/PowerShellReferencePsiElementImpl.kt#L27 Apparently, the TODO comment appeared because it's too simple or dubious. We should investigate and either improve the implementation or remove the comment...
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/psi/impl/PowerShellQualifiedReferenceExpression.kt#L26 This one is quite mysterious, I have to admit. So far I don't have much clue on what is this util used for....
See this comment: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/ide/resolve/PowerShellResolveUtil.kt#L126 Also this one: https://github.com/ant-druha/intellij-powershell/blob/012fa5c741188e761aab38f7dfe4dd5ea44e1bec/src/main/kotlin/com/intellij/plugin/powershell/psi/impl/PowerShellInvocationExpressionImpl.kt#L28 Apparently, there's something for us to improve with the "default constructor" handling (I suppose that's about classes in PowerShell): perhaps the current...
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/test/java/com/intellij/plugin/powershell/lang/PowerShellCodeInsightTest.kt#L131 So, it is a comment about a `missingValue`. I guess let's uncomment the test and check what's it all about.
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/ide/run/PSExecutionUtil.kt#L32 This is used by the plugin to determine the version of the PowerShellEditorServices module. Currently the code is very simple, maybe even too...
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...
See the code near this line: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/kotlin/com/intellij/plugin/powershell/ide/refactoring/PowerShellRenamePsiElementProcessor.kt#L19 Also, look for the number of this issue in the project code base. It explains an issue that caused us to rely on...