Skip to content

Commit

Permalink
id全使用小写
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Mar 27, 2024
1 parent ec4310e commit 6b36e8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
"views": {
"explorer": [
{
"id": "y3-Helper.editorTableView",
"id": "y3-helper.editorTableView",
"name": "Y3开发助手:物编数据"
}
]
},
"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"
}
]
Expand Down Expand Up @@ -66,7 +66,7 @@
"title": "Y3:生成物编模板(CSV)"
},
{
"command": "y3-Helper.editorTableView.refresh",
"command": "y3-helper.editorTableView.refresh",
"title": "Refresh",
"category": "y3-helper",
"icon": "$(refresh)"
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,15 +383,15 @@ 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', () => {
y3HelperDataProvider.refresh();
});


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,
Expand Down

0 comments on commit 6b36e8f

Please sign in to comment.