diff --git a/package.json b/package.json index 83a7e7f..58be1e4 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "views": { "explorer": [ { - "id": "y3-Helper.editorTableView", + "id": "y3-helper.editorTableView", "name": "Y3开发助手:物编数据" } ] @@ -33,8 +33,8 @@ "menus": { "view/title": [ { - "command": "y3-Helper.editorTableView.refresh", - "when": "view == y3-Helper.editorTableView", + "command": "y3-helper.editorTableView.refresh", + "when": "view == y3-helper.editorTableView", "group": "navigation" } ] @@ -66,7 +66,7 @@ "title": "Y3:生成物编模板(CSV)" }, { - "command": "y3-Helper.editorTableView.refresh", + "command": "y3-helper.editorTableView.refresh", "title": "Refresh", "category": "y3-helper", "icon": "$(refresh)" diff --git a/src/extension.ts b/src/extension.ts index 8fcbf3a..c7f3409 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -383,7 +383,7 @@ class Helper { private registerEditorTableView() { const y3HelperDataProvider=new Y3HelperDataProvider(this.env); vscode.window.registerTreeDataProvider( - 'y3-Helper.editorTableView', + 'y3-helper.editorTableView', y3HelperDataProvider ); vscode.commands.registerCommand('y3-helper.refreshTableViewer', () => { @@ -391,7 +391,7 @@ class Helper { }); - vscode.commands.registerCommand('y3-Helper.editorTableView.refresh', () => y3HelperDataProvider.refresh()); + vscode.commands.registerCommand('y3-helper.editorTableView.refresh', () => y3HelperDataProvider.refresh()); const goEditorTableSymbolProvider = new GoEditorTableSymbolProvider( this.env.editorTablePath,