|
1 | 1 | # vscode-powershell Release History
|
2 | 2 |
|
| 3 | +## 0.6.0 |
| 4 | +### Thursday, May 12, 2016 |
| 5 | + |
| 6 | +#### Added a new cross-editor extensibility model |
| 7 | + |
| 8 | +- We've added a new extensibility model which allows you to write PowerShell |
| 9 | + code to add new functionality to Visual Studio Code and other editors with |
| 10 | + a single API. If you've used `$psISE` in the PowerShell ISE, you'll feel |
| 11 | + right at home with `$psEditor`. Check out the [documentation](https://powershell.github.io/PowerShellEditorServices/guide/extensions.html) |
| 12 | + for more details! |
| 13 | + |
| 14 | +#### Support for user and system-wide profiles |
| 15 | + |
| 16 | +- We've now introduced the `$profile` variable which contains the expected |
| 17 | + properties that you normally see in `powershell.exe` and `powershell_ise.exe`: |
| 18 | + - `AllUsersAllHosts` |
| 19 | + - `AllUsersCurrentHost` |
| 20 | + - `CurrentUserAllHosts` |
| 21 | + - `CurrentUserCurrentHost` |
| 22 | +- In Visual Studio Code the profile name is `Microsoft.VSCode_profile.ps1`. |
| 23 | +- `$host.Name` now returns "Visual Studio Code Host" and `$host.Version` returns |
| 24 | + the version of the PowerShell extension that is being used. |
| 25 | + |
| 26 | +#### Other improvements |
| 27 | + |
| 28 | +- IntelliSense for static methods and properties now works correctly. If you |
| 29 | + type `::` after a type such as `[System.Guid]` you will now get the correct |
| 30 | + completion results. This also works if you press `Ctrl+Space` after the `::` |
| 31 | + characters. |
| 32 | +- `$env` variables now have IntelliSense complete correctly. |
| 33 | +- Added support for new VSCode command `Debug: Start Without Debugging`. Shortcut |
| 34 | + for this command is <kbd>Ctrl+F5</kbd>. |
| 35 | +- Changed the keyboard shortcut for `PowerShell: Expand Alias` from <kbd>Ctrl+F5</kbd> to <kbd>Ctrl+Alt+e</kbd>. |
| 36 | +- Added support for specifying a PSScriptAnalyzer settings file by |
| 37 | + providing a full path in your User Settings for the key `powershell.scriptAnalysis.settingsPath`. |
| 38 | + You can also configure the same setting in your project's `.vscode\settings.json` |
| 39 | + file to contain a workspace-relative path. If present, this workspace-level setting |
| 40 | + overrides the one in your User Settings file. See the extension's `examples\.vscode\settings.json` |
| 41 | + file for an example. |
| 42 | +- The debug adapter now does not crash when you attempt to add breakpoints |
| 43 | + for files that have been moved or don't exist. |
| 44 | +- Fixed an issue preventing output from being written in the debugger if you |
| 45 | + don't set a breakpoint before running a script. |
| 46 | + |
| 47 | +#### New configuration settings |
| 48 | + |
| 49 | +- `powershell.scriptAnalysis.settingsPath`: Specifies the path to a PowerShell Script Analyzer settings file. Use either an absolute path (to override the default settings for all projects) or use a path relative to your workspace. |
| 50 | + |
3 | 51 | ## 0.5.0
|
4 | 52 | ### Thursday, March 10, 2016
|
5 | 53 |
|
|
0 commit comments