Skip to content

Commit 030cbf7

Browse files
authored
Merge pull request #646 from daviwil/release/0.12.0
Release 0.12.0
2 parents 18ca702 + 1dc3005 commit 030cbf7

File tree

4 files changed

+98
-3
lines changed

4 files changed

+98
-3
lines changed

CHANGELOG.md

+95
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,100 @@
11
# vscode-powershell Release History
22

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+
![image](https://cloud.githubusercontent.com/assets/79405/24670885/a18513fe-1924-11e7-91d3-dc14c6cbfad9.png)
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+
![image](https://cloud.githubusercontent.com/assets/79405/24316990/2157480e-10b0-11e7-8a61-19fde63edfb7.png)
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+
398
## 0.11.0
499
### Wednesday, March 22, 2017
5100

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '0.11.0-insiders-{build}'
1+
version: '0.12.0-insiders-{build}'
22
image: Visual Studio 2017
33
clone_depth: 10
44
skip_tags: true

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "PowerShell",
33
"displayName": "PowerShell",
4-
"version": "0.11.0",
4+
"version": "0.12.0",
55
"publisher": "ms-vscode",
66
"description": "Develop PowerShell scripts in Visual Studio Code!",
77
"engines": {

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { DocumentFormatterFeature } from './features/DocumentFormatter';
2929

3030
// NOTE: We will need to find a better way to deal with the required
3131
// PS Editor Services version...
32-
var requiredEditorServicesVersion = "0.11.0";
32+
var requiredEditorServicesVersion = "0.12.0";
3333

3434
var logger: Logger = undefined;
3535
var sessionManager: SessionManager = undefined;

0 commit comments

Comments
 (0)