Skip to content

Commit 389d153

Browse files
authored
vscode engine version update for ai editors (#563)
* vscode engine version update for ai editors * remove console log statement
1 parent c1c7295 commit 389d153

File tree

6 files changed

+227
-280
lines changed

6 files changed

+227
-280
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "swdc-vscode",
33
"displayName": "Code Time",
4-
"version": "2.8.12",
4+
"version": "2.8.13",
55
"publisher": "softwaredotcom",
66
"description": "Code Time is an open source plugin that provides programming metrics right in Visual Studio Code.",
77
"author": {
@@ -40,7 +40,7 @@
4040
"workspace"
4141
],
4242
"engines": {
43-
"vscode": "^1.103.1"
43+
"vscode": ">=1.98.2"
4444
},
4545
"main": "./dist/extension.js",
4646
"scripts": {
@@ -127,9 +127,9 @@
127127
"@types/copy-webpack-plugin": "^8.0.1",
128128
"@types/mocha": "^9.0.0",
129129
"@types/node": "^16.10.3",
130-
"@types/vscode": "^1.103.0",
131-
"@typescript-eslint/eslint-plugin": "^8.32.0",
132-
"@typescript-eslint/parser": "^8.32.0",
130+
"@types/vscode": "1.98.0",
131+
"@typescript-eslint/eslint-plugin": "8.46.3",
132+
"@typescript-eslint/parser": "8.46.3",
133133
"eslint": "^9.26.0",
134134
"copy-webpack-plugin": "^11.0.0",
135135
"file-loader": "^6.2.0",

src/local/loading.ts

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/sidebar/CodeTimeView.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { getAuthenticationErrorHtml } from '../local/invalidSessionError';
1515
import { getBooleanItem, getItem } from '../Util';
1616
import { createAnonymousUser } from '../menu/AccountManager';
1717
import { isStatusBarTextVisible } from '../managers/StatusBarManager';
18-
import { getLoadingHtml } from '../local/loading';
1918
import { getDashboardErrorHtml } from '../local/dashboardError';
2019
import { getOfflineHtml } from '../local/offline';
2120

@@ -32,12 +31,11 @@ export class CodeTimeView implements Disposable, WebviewViewProvider {
3231
// its not available to refresh yet
3332
return;
3433
}
35-
this._webview.webview.html = await getLoadingHtml();
3634

3735
const webviewScope = this._webview.webview;
3836
setTimeout(async () => {
3937
webviewScope.html = await this.getHtml();
40-
}, 2000);
38+
}, 1500);
4139
}
4240

4341
private _onDidClose = new EventEmitter<void>();

swdc-vscode-2.8.12.vsix

-674 KB
Binary file not shown.

swdc-vscode-2.8.13.vsix

674 KB
Binary file not shown.

0 commit comments

Comments
 (0)