All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
2.8.0 - 2024-10-20
- Debugger: "verified" status for breakpoints that are successfully set. Thanks to @Fantoom for the contribution.
- Requirement update: IntelliJ Platform 2024.2 is now the minimal supported version (i.e., a downgrade, meaning we support more versions).
- Update PSScriptAnalyzer from v1.22.0 to v1.23.0.
- Update junixsocket library from v2.10.0 to v2.10.1.
2.7.0 - 2024-08-21
- Requirement update: IntelliJ Platform 2024.2.0.2 is now the minimal supported version.
- Update PowerShellEditorServices from v3.18.1 to v3.20.1.
- Update junixsocket library from v2.9.0 to v2.10.0.
- Update LSP4J library from v0.22.0 to v0.23.0.
-
Debugger support based on the debugger adapter protocol from PowerShellEditorServices.
Thanks to @Fantoom for the contribution.
2.6.1 - 2024-03-28
-
#257: pass
-NoProfile
to PowerShell when detecting its version, to determine the version faster and avoid possible problems caused by shell customizationsThanks to @En3Tho for the contribution.
-
#259: additionally, pass
-NonInteractive
argument
2.6.0 - 2024-03-24
-
Requirement update! If you set the plugin to use PowerShell (aka PowerShell Core, as opposed to Windows PowerShell), then PowerShell 7.2.11 is the minimal supported version
The requirements related to Windows PowerShell version are not changed.
-
#22: the default working directory for a newly created PowerShell run configuration is now the script's parent directory
Configurations created by previous versions of the plugin are unchanged.
-
#176: Migrate to PowerShell Core by default
If available on the target system, the modern PowerShell will be used be default, if available. Note that only new plugin installations will be affected, due to how we store the plugin settings. If the plugin is already installed, then it will use the previously discovered PowerShell instance.
This is a Windows-only change, because only on Windows there are two PowerShell versions that may coexist.
-
#229: the PowerShell run configuration will now save all the files before executing
This fixes the cases when the started configuration wasn't using the latest version of an edited script file.
-
#51: Update PowerShellEditorServices to v3.18.1
-
PSScriptAnalyzer has been updated to the latest v1.22.0
- The plugin no longer bundles Plaster that was a part of an older PowerShellEditorServices distribution, even though it wasn't used by the plugin.
2.5.0 - 2024-03-12
- #67: An attribute block before function's
param
could lead to incorrect indentation - #102: Formatter breaking the code around unary operators such as
-Not
and equal signs in command-line arguments - #183: Redundant multi line comment closing sequence added when user adds newline
- #138: Run configuration template doesn't work
- #184: Support the null-coalescing operator
- LSP4J library has been updated to v0.3.1
- junixsocket has been updated to 2.9.0
2.4.0 - 2024-03-09
-
The lexer and parser were migrated to be auto-generated by the Gradle Grammar-Kit task
We do not expect any changes, but they may happen, so please report any cases of suspicious plugin behavior.
-
#79: Can't detect PowerShell version on Linux
Thanks to @8ru73u5 for investigation of the issue.
This problem was caused by the PowerShell issue #11747.
-
A bit more of IO work during language server connection moved to the corresponding threads
This should save some IDE responsibility in rare cases when it could be a problem.
-
Increased timeout on connecting to the language server; should fix issues on slower computers
-
#42: The run configuration now uses terminal encoding (UTF-8 by default)
-
#17: When the username has a space, the plugin fails to initialize
2.3.1 - 2023-12-30
- #172: Console output forcibly wraps output to 80 characters
- #160: the
exit
keyword is now allowed in more positions in the parser - #166: "Slow operations are prohibited on EDT" report about disk IO on run configuration startup
- #154: Input not properly processed in the run configuration
- The PowerShell run configuration no longer ignores certain kinds of internal exceptions; they will be properly reported
2.3.0 - 2023-10-29
- The PowerShellEditorServices connection code has been refactored to not cause any UI freezes: everything was moved to background and rewritten to use non-blocking IO as much as possible
- #155: cannot start PowerShellEditorServices under the default PowerShell 5 execution policy,
Restricted
- #104 (fixed partially): use less restricting flags when opening pipe connections to PowerShellEditorServices
- #144: terminate the language server processes when exiting the IDE (even if the IDE was terminated abnormally)
2.2.0 - 2023-10-01
- Cleaned up a lot of deprecated API usages and warnings (by @VladRassokhin)
- #148: drop Gson and Guava dependencies from the plugin
- #88: fix UI freezes caused by the plugin and migrate all the LSP communication to background threads
- #145: log PowerShellEditorServices output
2.1.0 - 2023-09-13
- The minimal supported IntelliJ version is now 2023.2
- #45: Upgrade PSScriptAnalyzer from 1.17.1 to 1.21.0, thanks to @bergmeister
- #75: Add indents for array elements when formatting, thanks to @VladRassokhin
- #90: Allow for more user interaction with the run configuration in terminal (use PTY when available), thanks to @ZhengKeli
- #89: Allow entering the executables from
PATH
in the plugin settings, thanks to @ZhengKeli
- #124: Support placing function name on next line in function definition, thanks to @VladRassokhin
- #128: The optional error reports are now sent to the Marketplace in newer IDE versions after the user approval
2.0.10 - 2022-02-25
- #76: Exception thrown when plugin is enabled but no PowerShell is found
2.0.9 - 2021-11-30
- Properly mark the plugin as compatible with IntelliJ 2021.3+
2.0.8 - 2021-11-19
- The minimal supported IntelliJ version is now 2021.3
- #63: support Path Macros for the run configuration
2.0.7 - 2021-05-25
- Ability to set PowerShell version globally and for Run Configuration
- Run Configuration: ability to specify environment variables
- macOS ARM support
2.0.6 - 2021-03-13
- The minimal supported IntelliJ version is now 2021.1
- #40: Run configuration keeps getting renamed when opening or editing, thanks to @Dimi1010
2.0.5 - 2020-08-14
- #48 Adds simplest code folding: for code blocks, arrays, thanks to @VladRassokhin
2.0.4 - 2019-11-22
- #38: UnsupportedClassVersionError running 2019.3 under 1.8 JDK
2.0.3 - 2019-11-03
- #33: Get rid of implicit dependency on Java plugin
- Platform API maintenance update
- PSES startup script path wrong for standalone unpacked installation
- Stack overflow in RenamePsiElementProcessor.findReferences
2.0.2 - 2019-05-23
- The minimal supported IntelliJ version is now 2019.2 compatibility
- #24: Parenthesized expression parsing error
2.0.1 - 2019-01-17
- #10: Script Arguments not working as expected
- #12: Memory (project) leak in plugin, thanks to @VladRassokhin
2.0.0-IJ2018.2.X - 2018-12-07
Same as 2.0.0, but compatible with IntelliJ 2018.2+.
2.0.0 - 2018-12-07
- #9: PowerShell ScriptAnalyzer support in IDE Editor
- #3 Run/Debug configuration: ability to set working directory
- #6: Update PowerShell Language server version
- #5: Reformat code Error
- #2: NullPointerException during normal IDE operation
- #1: Exception on PyCharm launch
1.1.1 - 2018-06-21
- #22 (BitBucket): Integrated PowerShell Console
- #18 (BitBucket): Remote files editing with 'psedit' command in PowerShell console
1.1.0 - 2018-05-15
- Language injections in interpolated strings
- #19 (BitBucket): Source formatting does not omit "@ at the beginning of line
- #20 (BitBucket): Handle drive letters in unc path
- #21 (BitBucket):
NoClassDefFoundError
if IntelliLang plugin is not installed
1.0.2 - 2018-01-31
- #11 (BitBucket):
using
keyword not being recognized
- More pre-defined Live Template snippets
- Use
-File
parameter to specify the script file to run
1.0.1 - 2018-01-25
- #8 (BitBucket): Exception shown on LSP communication failure
- #9 (BitBucket): Language server fails to start if path to startup script contains spaces
1.0.0 - 2018-01-22
- Language Server Protocol support. Plugin now bundles PowerShellEditorServices module (same as VSCode) to provide Editor assistance. Supported requests:
textDocument/didOpen
(File opened in editor)textDocument/didClose
(File closed in editor)textDocument/didChange
(Editor document text changes)textDocument/completion
(Editor Auto completion)
0.0.3 - 2018-01-16
- #3 (BitBucket): Support PowerShell Scopes like Global or Local for functions
- #5 (BitBucket): Support more PowerShell file extensions
- #7 (BitBucket):
StackOverflowError
on resolving variable that has no definition
0.0.2 - 2017-12-25
Enhanced completion:
- resolve and completion of declared in script type members (methods, properties, constructors);
- completion for different contexts (references, types, properties).
0.0.1 - 2017-12-06
Initial editor and code completion support:
- syntax highlighting;
- variables and declared types reference resolve and find usages;
- reference and keyword completion;
- rename refactoring;
- structure view;
- colors and fonts;
- code style;
- live templates;
- run configuration.