|
1 | 1 | # vscode-powershell Release History
|
2 | 2 |
|
| 3 | +## 0.12.0 |
| 4 | +### Tuesday, April 4, 2017 |
| 5 | + |
| 6 | +#### Debugging untitled files ([#555](https://github.com/PowerShell/vscode-powershell/issues/555)) |
| 7 | + |
| 8 | +You can now debug untitled files that are set to the PowerShell language mode. When you |
| 9 | +create a new untitled file, use the "Change Language Mode" command (<kbd>Ctrl+K M</kbd>) |
| 10 | +and choose "PowerShell" from the menu that appears. You can now press F5 to start |
| 11 | +debugging the script file without saving it. |
| 12 | + |
| 13 | +In the upcoming 1.11.0 release of Visual Studio Code (or in the current VS Code Insiders |
| 14 | +release), you can configure the new `files.defaultLanguage` setting to `powershell` in either |
| 15 | +your User or Workspace settings to cause all untitled files to be created with the PowerShell |
| 16 | +mode by default. This will allow you to create new PowerShell scripts and debug them |
| 17 | +immediately without saving first! |
| 18 | + |
| 19 | +#### New right-click context menu for Run Selection ([#581](https://github.com/PowerShell/vscode-powershell/issues/581)) |
| 20 | + |
| 21 | +By user request, we've also added a new "Run Selection" item in the right-click context menu |
| 22 | +for PowerShell script files: |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | +#### Debugging improvements |
| 27 | + |
| 28 | +- Fixed [#620](https://github.com/PowerShell/vscode-powershell/issues/620) - |
| 29 | + PowerShell session now does not crash when a breakpoint is hit outside of |
| 30 | + debug mode |
| 31 | + |
| 32 | +- Fixed [#614](https://github.com/PowerShell/vscode-powershell/issues/614) - |
| 33 | + Auto variables are now populating correctly in the debugger. **NOTE**: There is |
| 34 | + a known issue where all of a script's variables begin to show up in the |
| 35 | + Auto list after running a script for the first time. This is caused by |
| 36 | + a change in 0.11.0 where we now dot-source all debugged scripts. We will |
| 37 | + provide an option for this behavior in the future. |
| 38 | + |
| 39 | +- Fixed [#641](https://github.com/PowerShell/vscode-powershell/issues/641) - |
| 40 | + PowerShell script files with capitalized extensions (.PS1, .PSM1) can now |
| 41 | + be launched in the debugger |
| 42 | + |
| 43 | +- Fixed [#616](https://github.com/PowerShell/vscode-powershell/issues/616) - |
| 44 | + Debugger now shows column position indicators when debugging pipelines or |
| 45 | + nested expressions: |
| 46 | + |
| 47 | +  |
| 48 | + |
| 49 | +#### Integrated console improvements |
| 50 | + |
| 51 | +- Fixed [PowerShell/PowerShellEditorServices#411](https://github.com/PowerShell/PowerShellEditorServices/issues/411) - |
| 52 | + Commands run outside of the integrated console prompt now interrupt the prompt |
| 53 | + correctly. This resolves a class of issues that appear when running commands |
| 54 | + in the extension like "New Project from Plaster Template" or any `$psEditor` |
| 55 | + commands added with the "Register-EditorCommand" function. Running any of |
| 56 | + these commands will now cause the current input prompt to be cancelled so that |
| 57 | + the command's output will be written correctly. |
| 58 | + |
| 59 | +#### Code formatting improvements |
| 60 | + |
| 61 | +- Fixed [#595](https://github.com/PowerShell/vscode-powershell/issues/595) - |
| 62 | + High CPU usage when using formatOnType has now been resolve |
| 63 | + |
| 64 | +- Fixed [#559](https://github.com/PowerShell/vscode-powershell/issues/559) - |
| 65 | + The `newLineAfterCloseBrace` behavior has been improved to respect common syntax |
| 66 | + usages |
| 67 | + |
| 68 | +- Fixed[PowerShell/PowerShellEditorServices#380](https://github.com/PowerShell/PowerShellEditorServices/issues/380) - |
| 69 | + The `whitespaceBeforeOpenBrace` behavior now leaves "magic" functions with the |
| 70 | + correct formatting. For example: `(0 .. 10).foreach{$_}` now does not have a |
| 71 | + whitespace inserted before the `{`. |
| 72 | + |
| 73 | +#### New Project with Plaster improvements |
| 74 | + |
| 75 | +- Fixed [#643](https://github.com/PowerShell/vscode-powershell/issues/643) - |
| 76 | + Running Plaster using the New Project command now interrupts the command prompt |
| 77 | + correctly |
| 78 | + |
| 79 | +- Fixed [#504](https://github.com/PowerShell/vscode-powershell/issues/504) - |
| 80 | + Confirming default values in Plaster input prompts by pressing Enter now works |
| 81 | + correctly |
| 82 | + |
| 83 | +#### Other fixes and improvements |
| 84 | + |
| 85 | +- Added [#639](https://github.com/PowerShell/vscode-powershell/pull/639) and |
| 86 | + [#640](https://github.com/PowerShell/vscode-powershell/pull/640) - |
| 87 | + Our configuration setting descriptions have been edited for superior clarity |
| 88 | + thanks to [June Blender](https://github.com/juneb)! |
| 89 | + |
| 90 | +- Fixed [#611](https://github.com/PowerShell/vscode-powershell/pull/640) - |
| 91 | + Example-* snippets are now displaying correctly in IntelliSense results |
| 92 | + |
| 93 | +- Added [#624](https://github.com/PowerShell/vscode-powershell/pull/624) - |
| 94 | + When you update the PowerShell extension after this release, you will now see |
| 95 | + version update indicators which offer to display the changelog in a preview |
| 96 | + tab |
| 97 | + |
3 | 98 | ## 0.11.0
|
4 | 99 | ### Wednesday, March 22, 2017
|
5 | 100 |
|
|
0 commit comments