Skip to content

Commit

Permalink
Prepare for 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo committed Jan 21, 2019
1 parent b5d44ce commit ec74d5f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to the "leetcode" extension will be documented in this file.

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

## [0.9.0]
### Changed
- Improve the experience of switching endpoint ([#85](https://github.com/jdneo/vscode-leetcode/issues/85))
- Use webview to show the result page ([#76](https://github.com/jdneo/vscode-leetcode/issues/76))


## [0.8.2]
### Added
- Add Code Lens for submitting the answer to LeetCode
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-leetcode",
"displayName": "LeetCode",
"description": "Solve LeetCode problems in VS Code",
"version": "0.8.2",
"version": "0.9.0",
"author": "Sheng Chen",
"publisher": "shengchen",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/leetCodeResultProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class LeetCodeResultProvider implements Disposable {

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

this.panel.webview.html = await this.provideHtmlContent(result);
this.panel.reveal(ViewColumn.Active);
this.panel.reveal(ViewColumn.Two);
}

public dispose(): void {
Expand Down

0 comments on commit ec74d5f

Please sign in to comment.