From 951c88a087abaf5efca1ddeccc53afa145e7b621 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 10 Mar 2016 11:53:06 -0800 Subject: [PATCH 1/3] Turn on verbose logging for debug adapter This change turns on verbose logging for the debug adapter by default. This is helpful in the short term because it is difficult for users to go enable this setting (they have to edit package.json in their extension folder). In the future we will find a better way to configure this setting for the debug adapter. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8a3d20e882..8d14233143 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,8 @@ "program": "bin/Microsoft.PowerShell.EditorServices.Host.x86.exe" }, "args": [ - "/debugAdapter" + "/debugAdapter", + "/logLevel:Verbose" ], "configurationAttributes": { "launch": { From a4316c054884f3a88badadd5d97a591a506b2807 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 10 Mar 2016 12:22:20 -0800 Subject: [PATCH 2/3] Update to VS Code engine 0.10.10 --- package.json | 2 +- src/main.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/package.json b/package.json index 8d14233143..20332a0fd9 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "publisher": "ms-vscode", "description": "Develop PowerShell scripts in Visual Studio Code!", "engines": { - "vscode": "^0.10.8" + "vscode": "^0.10.10" }, "license": "SEE LICENSE IN LICENSE.txt", "homepage": "https://github.com/PowerShell/vscode-powershell/blob/master/README.md", diff --git a/src/main.ts b/src/main.ts index eec00557b3..4e699ffc9e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,11 +46,6 @@ export function activate(context: vscode.ExtensionContext): void { ], __electricCharacterSupport: { - brackets: [ - { tokenType: 'delimiter.curly.ts', open: '{', close: '}', isElectric: true }, - { tokenType: 'delimiter.square.ts', open: '[', close: ']', isElectric: true }, - { tokenType: 'delimiter.paren.ts', open: '(', close: ')', isElectric: true } - ], docComment: { scope: 'comment.documentation', open: '/**', lineStart: ' * ', close: ' */' } }, From 81ed5210c002d564dac8668b4ea9a25b5e61b0d6 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 10 Mar 2016 12:25:22 -0800 Subject: [PATCH 3/3] Bump version to 0.5.0, update CHANGELOG.md --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ package.json | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97d2937918..70edb9fe90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,44 @@ # vscode-powershell Release History +## 0.5.0 +### Thursday, March 10, 2016 + +#### Support for PowerShell v3 and v4 + +- Support for PowerShell v3 and v4 is now complete! Note that for this release, + Script Analyzer support has been disabled for PS v3 and v4 until we implement + a better strategy for integrating it as a module dependency + +#### Debugging improvements + +- Added support for command breakpoints. + + Hover over the Debug workspace's 'Breakpoints' list header and click the 'Add' + button then type a command name (like `Write-Output`) in the new text box that + appears in the list. + +- Added support for conditional breakpoints. + + Right click in the breakpoint margin to the left of the code editor and click + 'Add conditional breakpoint' then enter a PowerShell expression in the text box + that appears in the editor. + +#### Other improvements + +- Added a preview of a possible project template for PowerShell Gallery modules in + the `examples` folder. Includes a PSake build script with Pester test, clean, + build, and publish tasks. See the `examples\README.md` file for instructions. + Check it out and give your feedback on GitHub! +- `using 'module'` now resolves relative paths correctly, removing a syntax error that + previously appeared when relative paths were used +- Calling `Read-Host -AsSecureString` or `Get-Credential` from the console now shows an + appropriate "not supported" error message instead of crashing the language service. + Support for these commands will be added in a later release. + +#### New configuration settings + +- `powershell.useX86Host`: If true, causes the 32-bit language service to be used on 64-bit Windows. On 32-bit Windows this setting has no effect. + ## 0.4.1 ### Wednesday, February 17, 2016 diff --git a/package.json b/package.json index 20332a0fd9..78a6743de4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "PowerShell", "displayName": "PowerShell", - "version": "0.4.1", + "version": "0.5.0", "publisher": "ms-vscode", "description": "Develop PowerShell scripts in Visual Studio Code!", "engines": {