|
1 | 1 | # vscode-powershell Release History
|
2 | 2 |
|
| 3 | +## 0.8.0 |
| 4 | +### Friday, December 16, 2016 |
| 5 | + |
| 6 | +#### Improved PowerShell session management |
| 7 | + |
| 8 | +It's now much easier to manage the active PowerShell session. We've added a |
| 9 | +new item to the status bar to indicate the state of the session and the version |
| 10 | +of PowerShell you're using: |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | +When this status item is clicked, a new menu appears to give you some session |
| 15 | +management options: |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +You can restart the active session, switch between 32-bit and 64-bit PowerShell on |
| 20 | +Windows or switch to another PowerShell process (like a 6.0 alpha build) that |
| 21 | +you've configured with the `powershell.developer.powerShellExePath`. |
| 22 | + |
| 23 | +We've also improved the overall experience of loading and using the extension: |
| 24 | + |
| 25 | +- It will prompt to restart the PowerShell session if it crashes for any reason |
| 26 | +- It will also prompt to restart the session if you change any relevant PowerShell |
| 27 | + configuration setting like the aforementioned `powershell.developer.powerShellExePath`. |
| 28 | +- You can easily access the logs of the current session by running the command |
| 29 | + `Open PowerShell Extension Logs Folder`. |
| 30 | + |
| 31 | +#### Create new modules with Plaster |
| 32 | + |
| 33 | +In this release we've added integration with the [Plaster](https://github.com/PowerShell/Plaster) |
| 34 | +module to provide a `Create New Project from Plaster Template` command. This command will |
| 35 | +walk you through the experience of selecting a template and filling in all of |
| 36 | +the project details: |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +We include one basic project template by default and will add more in the very |
| 43 | +near future. However, you won't need to update the PowerShell extension to get these |
| 44 | +new templates, they will appear when you install an update to the Plaster module from |
| 45 | +the [PowerShell Gallery](https://www.powershellgallery.com/). |
| 46 | + |
| 47 | +Check out [Plaster's documentation](https://github.com/PowerShell/Plaster/tree/master/docs/en-US) |
| 48 | +for more details on how it can be used and how you can create your own templates. |
| 49 | + |
| 50 | +#### New "quick fix" actions for PSScriptAnalyzer rules |
| 51 | + |
| 52 | +The PowerShell extension now uses any "suggested corrections" which are returned with |
| 53 | +a rule violation in your script file to provide a "quick fix" option for the affected |
| 54 | +section of code. For example, when the `PSAvoidUsingCmdletAliases` rule finds the use |
| 55 | +of a non-whitelisted alias, you will see a light bulb icon that gives the option to |
| 56 | +change to the full name (right click or <kbd>Ctrl+.</kbd> on the marker): |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +If you'd like to see more quick fixes for PowerShell code, head over to the |
| 61 | +[PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) GitHub page and |
| 62 | +get involved! |
| 63 | + |
| 64 | +#### Easily enable and disable PSScriptAnalyzer rules |
| 65 | + |
| 66 | +Another improvement related to PSScriptAnalyzer is the ability to change the active |
| 67 | +PSScriptAnalyzer rules in the current editing session using a helpful selection menu: |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +You can enable and disable active rules by running the `Select PSScriptAnalyzer Rules` |
| 72 | +command. For now this only changes the active session but in a future release we will |
| 73 | +modify your PSScriptAnalyzer settings file so that the changes are persisted to future |
| 74 | +editing sessions. |
| 75 | + |
| 76 | +#### New "hit count" breakpoints in the debugger |
| 77 | + |
| 78 | +When debugging PowerShell scripts you can now set "hit count" breakpoints which |
| 79 | +cause the debugger to stop only after the breakpoint has been encountered a specified |
| 80 | +number of times. |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | +#### Other fixes and improvements |
| 85 | + |
| 86 | +- We now provide snippets for the `launch.json` configuration file which make it easier |
| 87 | + to add new PowerShell debugging configurations for your project. |
| 88 | +- In PowerShell `launch.json` configurations, the `program` parameter has now been |
| 89 | + renamed to `script`. Configurations still using `program` will continue to work. |
| 90 | +- Fixed #353: Cannot start PowerShell debugger on Windows when offline |
| 91 | +- Fixed #217: PowerShell output window should be shown when F8 is pressed |
| 92 | +- Fixed #292: Check for Homebrew's OpenSSL libraries correctly on macOS |
| 93 | +- Fixed #384: PowerShell snippets broken in VS Code 1.8.0 |
| 94 | + |
3 | 95 | ## 0.7.2
|
4 | 96 | ### Friday, September 2, 2016
|
5 | 97 |
|
|
0 commit comments