|
1 | 1 | # vscode-powershell Release History
|
2 | 2 |
|
| 3 | +## 1.2.0 |
| 4 | +### Wednesday, May 31, 2017 |
| 5 | + |
| 6 | +#### Dynamic comment-based help snippets now work inside functions ([#763](https://github.com/PowerShell/vscode-powershell/issues/748)) |
| 7 | + |
| 8 | +You asked for it, you got it! Dynamic comment-based help snippets now work |
| 9 | +inside function definitions, both above the `param()` block and at the end |
| 10 | +of the function body: |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | +*NOTE: There is an issue where parameter sections don't get generated inside of a function |
| 15 | +with a `[CmdletBinding()]` attribute. This is being tracked at [PowerShell/PSScriptAnalyzer#768](https://github.com/PowerShell/PSScriptAnalyzer/issues/768).* |
| 16 | + |
| 17 | +#### Session menu now contains entries for PowerShell Core installations on Windows ([#794](https://github.com/PowerShell/vscode-powershell/issues/794)) |
| 18 | + |
| 19 | +It's now much easier to switch between Windows PowerShell and PowerShell Core installs |
| 20 | +on Windows. When you run the "PowerShell: Show Session Menu" command or click the |
| 21 | +PowerShell version indication in the status bar you'll now see PowerShell Core entries |
| 22 | +in the menu: |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +#### Improved PSScriptAnalyzer marker display and suppression snippets ([#781](https://github.com/PowerShell/vscode-powershell/issues/781)) and ([#783](https://github.com/PowerShell/vscode-powershell/issues/783)) |
| 27 | + |
| 28 | +The green squiggle markers you receive from PSScriptAnalyzer now include the |
| 29 | +name of the corresponding rule in their description: |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +This is really helpful with the new rule suppression snippets contributed by |
| 34 | +[Jos Verlinde](https://github.com/Josverl)! You can access them by typing |
| 35 | +`suppress-` and selecting one of the suppression snippet options: |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | +#### New built-in Pester problem matcher ([#798](https://github.com/PowerShell/vscode-powershell/issues/798)) |
| 40 | + |
| 41 | +We now include a built-in [problem matcher](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher) |
| 42 | +for Pester test output so that you don't need to define one in your `tasks.json` |
| 43 | +file any longer! You can reference the built-in problem matcher in your test |
| 44 | +tasks by using the name `$pester`: |
| 45 | + |
| 46 | +```json |
| 47 | + { |
| 48 | + "taskName": "Test", |
| 49 | + "suppressTaskName": true, |
| 50 | + "isTestCommand": true, |
| 51 | + "showOutput": "always", |
| 52 | + "args": [ "Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true}" ], |
| 53 | + "problemMatcher": "$pester" |
| 54 | + } |
| 55 | +``` |
| 56 | + |
| 57 | +*NOTE: There is an issue with problem matchers when using the new `2.0.0` |
| 58 | +version of VS Code's task runner. Pester errors may show up multiple |
| 59 | +times in the Problems panel. This issue is being tracked at |
| 60 | +[#797](https://github.com/PowerShell/vscode-powershell/issues/797).* |
| 61 | + |
| 62 | +#### Other fixes and improvements |
| 63 | + |
| 64 | +- [#710](https://github.com/PowerShell/vscode-powershell/issues/710) - |
| 65 | + Variable definitions can now be found across the workspace |
| 66 | + |
| 67 | +- [#771](https://github.com/PowerShell/vscode-powershell/issues/771) - |
| 68 | + Improved dynamic comment help snippet performance in scripts with many functions |
| 69 | + |
| 70 | +- [#786](https://github.com/PowerShell/vscode-powershell/issues/786) - |
| 71 | + Running the "Show Integrated Console" command will now start the extension |
| 72 | + if it isn't already started |
| 73 | + |
| 74 | +- [#774](https://github.com/PowerShell/vscode-powershell/issues/774) - |
| 75 | + Pressing Enter now causes custom prompt functions to be fully evaluated |
| 76 | + |
| 77 | +- [#770](https://github.com/PowerShell/vscode-powershell/issues/770) - |
| 78 | + Fixed issue where custom prompt function might be written twice when |
| 79 | + starting the integrated console |
| 80 | + |
| 81 | +- [#767](https://github.com/PowerShell/vscode-powershell/issues/767) - |
| 82 | + Fixed placeholder navigation for many built-in snippets |
| 83 | + |
| 84 | +- [#782](https://github.com/PowerShell/vscode-powershell/issues/782) - |
| 85 | + Fixed extension host crash when restarting the PowerShell session |
| 86 | + |
| 87 | +- [#737](https://github.com/PowerShell/vscode-powershell/issues/737) - |
| 88 | + Fixed hangs and high CPU when restarting or switching between PowerShell sessions |
| 89 | + |
| 90 | +- [#777](https://github.com/PowerShell/vscode-powershell/issues/777) - |
| 91 | + Changed "Starting PowerShell" message to clearly indicate that we're in the |
| 92 | + PowerShell Integrated Console |
| 93 | + |
3 | 94 | ## 1.1.0
|
4 | 95 | ### Thursday, May 18, 2017
|
5 | 96 |
|
|
0 commit comments