Skip to content

Commit ec74d5f

Browse files
committed
Prepare for 0.9.0
1 parent b5d44ce commit ec74d5f

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ All notable changes to the "leetcode" extension will be documented in this file.
33

44
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
55

6+
## [0.9.0]
7+
### Changed
8+
- Improve the experience of switching endpoint ([#85](https://github.com/jdneo/vscode-leetcode/issues/85))
9+
- Use webview to show the result page ([#76](https://github.com/jdneo/vscode-leetcode/issues/76))
10+
11+
612
## [0.8.2]
713
### Added
814
- Add Code Lens for submitting the answer to LeetCode

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode",
33
"displayName": "LeetCode",
44
"description": "Solve LeetCode problems in VS Code",
5-
"version": "0.8.2",
5+
"version": "0.9.0",
66
"author": "Sheng Chen",
77
"publisher": "shengchen",
88
"license": "MIT",

src/leetCodeResultProvider.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LeetCodeResultProvider implements Disposable {
1414

1515
public async show(result: string): Promise<void> {
1616
if (!this.panel) {
17-
this.panel = window.createWebviewPanel("leetCode", "LeetCode Results", ViewColumn.Active, {
17+
this.panel = window.createWebviewPanel("leetCode", "LeetCode Results", ViewColumn.Two, {
1818
retainContextWhenHidden: true,
1919
enableFindWidget: true,
2020
});
@@ -25,7 +25,7 @@ class LeetCodeResultProvider implements Disposable {
2525
}
2626

2727
this.panel.webview.html = await this.provideHtmlContent(result);
28-
this.panel.reveal(ViewColumn.Active);
28+
this.panel.reveal(ViewColumn.Two);
2929
}
3030

3131
public dispose(): void {

0 commit comments

Comments
 (0)