Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 233fb60

Browse files
Update @types/vscode and vscode engine to 1.53.0 (#3179)
This requires updating the `StatusBarItem` implementation, but moreover, raises the lowest supported version of VS Code.
1 parent 058ea6c commit 233fb60

File tree

3 files changed

+40
-31
lines changed

3 files changed

+40
-31
lines changed

‎package-lock.json‎

Lines changed: 30 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"publisher": "ms-vscode",
77
"description": "(Preview) Develop PowerShell modules, commands and scripts in Visual Studio Code!",
88
"engines": {
9-
"vscode": "^1.52.0"
9+
"vscode": "^1.53.0"
1010
},
1111
"license": "SEE LICENSE IN LICENSE.txt",
1212
"homepage": "https://github.com/PowerShell/vscode-powershell/blob/master/README.md",
@@ -63,7 +63,7 @@
6363
"@types/semver": "~7.3.6",
6464
"@types/sinon": "~10.0.0",
6565
"@types/uuid": "~8.3.0",
66-
"@types/vscode": "~1.52.0",
66+
"@types/vscode": "~1.53.0",
6767
"mocha": "~8.4.0",
6868
"mocha-junit-reporter": "~2.0.0",
6969
"mocha-multi-reporters": "~1.5.1",

‎src/controls/animatedStatusBar.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ class AnimatedStatusBarItem implements StatusBarItem {
5858
this.statusBarItem.color = value;
5959
}
6060

61+
public get backgroundColor(): string | ThemeColor {
62+
return this.statusBarItem.backgroundColor;
63+
}
64+
65+
public set backgroundColor(value: string | ThemeColor) {
66+
this.statusBarItem.backgroundColor = value;
67+
}
68+
6169
public get command(): string | Command {
6270
return this.statusBarItem.command;
6371
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /