Adds PowerShell language support to IntelliJ-based IDEs.
Adds PowerShell language support to IntelliJ-based IDEs.
Install the plugin from IDE or download it from IntelliJ plugins repository and choose to install from disk.
The PowerShell run configuration uses the selected terminal encoding (UTF-8 by default).
Open Advanced settings and look for Terminal character encoding if you want to change that.
This plugin bundles the following third-party software:
The project is distributed under the terms of the Apache 2.0 license (unless a particular file states otherwise).
The license indication in the project's sources is compliant with the REUSE specification v3.3.
Copyright:
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Implement graceful debug-session teardown in PowerShellTestSession
https://github.com/intellij-powershell/intellij-powershell/issues/481
Labels: enhancement, help wanted
Confirm breakpoint initialization necessity in ProgramDebugRunner
https://github.com/intellij-powershell/intellij-powershell/issues/480
Labels: enhancement, help wanted
Decide client ID strategy in PowerShellProgramDebugRunner
https://github.com/intellij-powershell/intellij-powershell/issues/479
Labels: enhancement, help wanted
Dependency Dashboard
https://github.com/intellij-powershell/intellij-powershell/issues/476
Labels: dashboard
Automatically show the Threads & Frames UI when stopping at a breakpoint
https://github.com/intellij-powershell/intellij-powershell/issues/428
Labels: enhancement, help wanted, good first issue
Typos/misspellings masked by plugin
https://github.com/intellij-powershell/intellij-powershell/issues/419
Labels: bug, help wanted
Incorrectly reports variable assigned but never used for globals
https://github.com/intellij-powershell/intellij-powershell/issues/418
Labels: bug, help wanted
Rename Does Not Work
https://github.com/intellij-powershell/intellij-powershell/issues/404
Labels: bug, help wanted
Unreliable Function Declaration Detection
https://github.com/intellij-powershell/intellij-powershell/issues/399
Labels: bug, help wanted
Cannot get a list of all commands / no intellisense
https://github.com/intellij-powershell/intellij-powershell/issues/377
Labels: bug, completion
Looking to contribute? That's great!
Take a look at the following labels in the issue tracker:
Keep an eye on the following issue labels:
JDK 17 is required to develop the plugin.
If you use the default Gradle wrapper (gradlew or gradlew.bat), it will be auto-downloaded on wrapper start. Otherwise (say, to open the project in an IDE), you should get a JDK17-compatible installation. For example, install Amazon Corretto 17.
Use the following shell command:
$ ./gradlew build
If the CI asks you to update the file licenses, follow one of these:
// SPDX-FileCopyrightText: %year% %your name% <%your contact info, e.g. email%>
//
// SPDX-License-Identifier: Apache-2.0
(accommodate to the file's comment style if required).$ reuse annotate --license Apache-2.0 --copyright '%your name% <%your contact info, e.g. email%>' %file names to annotate%
(Feel free to attribute the changes to "intellij-powershell contributors https://github.com/intellij-powershell/intellij-powershell" instead of your name in a multi-author file, or if you don't want your name to be mentioned in the project's source: this doesn't mean you'll lose the copyright.)
This project uses lexer generated by JFlex and parser generated by Grammar-Kit, as described in the IntelliJ documentation:
They are automatically generated from the .flex and .bnf files on build.
The latest available PowerShell Language Specification is published by Microsoft. Unfortunately, it hasn't been updated for any language versions newer than 3.0, so it's quite outdated.
The Parser class in the PowerShell implementation, though, contains some rudimentary snippets of EBNF on some syntax nodes, prefixed with // G comments. See also similar comments in tokenizer.cs.