intellij-powershell
intellij-powershell copied to clipboard
Adds PowerShell language support to IntelliJ-based IDEs.
1. Create a new project. 2. Edit the PowerShell run configuration template, e.g. set the working directory to any custom path. 3. Reopen the run configuration template editor, observe that...
The current source layout makes it harder to bundle PSScriptAnalyzer: we keep its releases right in the repo, at `language_host/current/LanguageHost/modules/PSScriptAnalyzer`. See #45 as a reference for how we currently update...
Currently, despite being formally dynamic, the plugin can't be reloaded due to: - #120 - some stuff being saved into static fields
Earlier, `com.kohlschutter.junixsocket` was required to work with Unix sockets. Nowadays, Java 16 should support them out of the box, so this dependency is no longer needed.
After #89, we have updated how we handle PowerShell executable path in the IDE settings. Let's update our settings to follow same pattern as Git does. Git doesn't block save...
`$rootString = if(($PSVersionTable).Platform -like "Unix"){"/"} else{"$env:SystemDrive*"}` The parentheses around $PSVersionTable above are unnecessary but are valid; this should possibly make a style suggestion to remove them Working in PS 5.1...
When an conditional mistakenly uses the instead of the PowerShell -lt -gt compare operators, subsequent suggestions/code completion break but the error isn't highlighted.
This "sorta" fixes https://github.com/ant-druha/intellij-powershell/issues/182 Better than failing completely but stiill wrong so I need a hint how to do this properly: ```pwsh 1, 2, 3 | Foreach-Object { $_ }...
For context, see #236. Should fix #182. Closes #236 (as superseded). **TODO:** - [ ] Make the existing tests green - [ ] More tests for the initial case
See the code near this line: of our BNF definition: https://github.com/ant-druha/intellij-powershell/blob/baccc65fb41e834e8eb66642911f1a1259926856/src/main/resources/PowerShell.bnf#L816 Should we use `ALNUM` or `SIMPLE_ID` for labels in PowerShell language? Consult with the actual implementation.