Skip to content

Commit fece5be

Browse files
committed
Bump version to 1.2.0, update CHANGELOG.md
1 parent 23c69ea commit fece5be

File tree

4 files changed

+94
-3
lines changed

4 files changed

+94
-3
lines changed

CHANGELOG.md

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

3+
## 1.2.0
4+
### Wednesday, May 31, 2017
5+
6+
#### Dynamic comment-based help snippets now work inside functions ([#763](https://github.com/PowerShell/vscode-powershell/issues/748))
7+
8+
You asked for it, you got it! Dynamic comment-based help snippets now work
9+
inside function definitions, both above the `param()` block and at the end
10+
of the function body:
11+
12+
![Comment help GIF](https://cloud.githubusercontent.com/assets/79405/26637844/6e76cfa6-45d5-11e7-89b8-a2d6a559536b.GIF)
13+
14+
*NOTE: There is an issue where parameter sections don't get generated inside of a function
15+
with a `[CmdletBinding()]` attribute. This is being tracked at [PowerShell/PSScriptAnalyzer#768](https://github.com/PowerShell/PSScriptAnalyzer/issues/768).*
16+
17+
#### Session menu now contains entries for PowerShell Core installations on Windows ([#794](https://github.com/PowerShell/vscode-powershell/issues/794))
18+
19+
It's now much easier to switch between Windows PowerShell and PowerShell Core installs
20+
on Windows. When you run the "PowerShell: Show Session Menu" command or click the
21+
PowerShell version indication in the status bar you'll now see PowerShell Core entries
22+
in the menu:
23+
24+
![Session menu](https://cloud.githubusercontent.com/assets/79405/26637984/d177f5f8-45d5-11e7-9def-705b3fa68953.png)
25+
26+
#### Improved PSScriptAnalyzer marker display and suppression snippets ([#781](https://github.com/PowerShell/vscode-powershell/issues/781)) and ([#783](https://github.com/PowerShell/vscode-powershell/issues/783))
27+
28+
The green squiggle markers you receive from PSScriptAnalyzer now include the
29+
name of the corresponding rule in their description:
30+
31+
![Rule name](https://cloud.githubusercontent.com/assets/79405/26638073/15aaaaae-45d6-11e7-93a0-cf6d5397553e.png)
32+
33+
This is really helpful with the new rule suppression snippets contributed by
34+
[Jos Verlinde](https://github.com/Josverl)! You can access them by typing
35+
`suppress-` and selecting one of the suppression snippet options:
36+
37+
![Suppress rule](https://cloud.githubusercontent.com/assets/79405/26638390/d8c42164-45d6-11e7-8844-a34a314654a5.GIF)
38+
39+
#### New built-in Pester problem matcher ([#798](https://github.com/PowerShell/vscode-powershell/issues/798))
40+
41+
We now include a built-in [problem matcher](https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher)
42+
for Pester test output so that you don't need to define one in your `tasks.json`
43+
file any longer! You can reference the built-in problem matcher in your test
44+
tasks by using the name `$pester`:
45+
46+
```json
47+
{
48+
"taskName": "Test",
49+
"suppressTaskName": true,
50+
"isTestCommand": true,
51+
"showOutput": "always",
52+
"args": [ "Invoke-Pester -PesterOption @{IncludeVSCodeMarker=$true}" ],
53+
"problemMatcher": "$pester"
54+
}
55+
```
56+
57+
*NOTE: There is an issue with problem matchers when using the new `2.0.0`
58+
version of VS Code's task runner. Pester errors may show up multiple
59+
times in the Problems panel. This issue is being tracked at
60+
[#797](https://github.com/PowerShell/vscode-powershell/issues/797).*
61+
62+
#### Other fixes and improvements
63+
64+
- [#710](https://github.com/PowerShell/vscode-powershell/issues/710) -
65+
Variable definitions can now be found across the workspace
66+
67+
- [#771](https://github.com/PowerShell/vscode-powershell/issues/771) -
68+
Improved dynamic comment help snippet performance in scripts with many functions
69+
70+
- [#786](https://github.com/PowerShell/vscode-powershell/issues/786) -
71+
Running the "Show Integrated Console" command will now start the extension
72+
if it isn't already started
73+
74+
- [#774](https://github.com/PowerShell/vscode-powershell/issues/774) -
75+
Pressing Enter now causes custom prompt functions to be fully evaluated
76+
77+
- [#770](https://github.com/PowerShell/vscode-powershell/issues/770) -
78+
Fixed issue where custom prompt function might be written twice when
79+
starting the integrated console
80+
81+
- [#767](https://github.com/PowerShell/vscode-powershell/issues/767) -
82+
Fixed placeholder navigation for many built-in snippets
83+
84+
- [#782](https://github.com/PowerShell/vscode-powershell/issues/782) -
85+
Fixed extension host crash when restarting the PowerShell session
86+
87+
- [#737](https://github.com/PowerShell/vscode-powershell/issues/737) -
88+
Fixed hangs and high CPU when restarting or switching between PowerShell sessions
89+
90+
- [#777](https://github.com/PowerShell/vscode-powershell/issues/777) -
91+
Changed "Starting PowerShell" message to clearly indicate that we're in the
92+
PowerShell Integrated Console
93+
394
## 1.1.0
495
### Thursday, May 18, 2017
596

appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '1.1.0-insiders-{build}'
1+
version: '1.2.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": "1.1.0",
4+
"version": "1.2.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
@@ -31,7 +31,7 @@ import { HelpCompletionFeature } from "./features/HelpCompletion";
3131

3232
// NOTE: We will need to find a better way to deal with the required
3333
// PS Editor Services version...
34-
var requiredEditorServicesVersion = "1.1.0";
34+
var requiredEditorServicesVersion = "1.2.0";
3535

3636
var logger: Logger = undefined;
3737
var sessionManager: SessionManager = undefined;

0 commit comments

Comments
 (0)