@@ -12,11 +12,11 @@ export function activate(context: vscode.ExtensionContext) {
1212
1313 vscode . window . registerTreeDataProvider ( 'projectManagerTreeView' , treeDataProvider ) ;
1414
15- vscode . commands . registerCommand ( 'vscode-project-manageraddProject ' , ( ) => {
15+ vscode . commands . registerCommand ( 'vscode-project-manager.addProject ' , ( ) => {
1616 createProjectEntry ( ) ;
1717 } ) ;
1818
19- vscode . commands . registerCommand ( 'vscode-project-managereditEntry ' , ( item ) => {
19+ vscode . commands . registerCommand ( 'vscode-project-manager.editEntry ' , ( item ) => {
2020
2121 if ( item . project === undefined && item . category !== undefined ) {
2222 // edit category
@@ -28,7 +28,7 @@ export function activate(context: vscode.ExtensionContext) {
2828
2929 } ) ;
3030
31- vscode . commands . registerCommand ( 'vscode-project-managerdeleteEntry ' , ( item ) => {
31+ vscode . commands . registerCommand ( 'vscode-project-manager.deleteEntry ' , ( item ) => {
3232
3333 vscode . window . showInformationMessage ( "You realy want to delete this?" , "Yes" , "No" ) . then ( answer => {
3434 if ( answer === "Yes" ) {
@@ -45,11 +45,11 @@ export function activate(context: vscode.ExtensionContext) {
4545
4646 } ) ;
4747
48- vscode . commands . registerCommand ( 'vscode-project-manageraddCategory ' , ( ) => {
48+ vscode . commands . registerCommand ( 'vscode-project-manager.addCategory ' , ( ) => {
4949 createCategoryEntry ( ) ;
5050 } ) ;
5151
52- vscode . commands . registerCommand ( 'vscode-project-manageropenInNewWindow ' , ( item ) => {
52+ vscode . commands . registerCommand ( 'vscode-project-manager.openInNewWindow ' , ( item ) => {
5353
5454 let projectPathUri = vscode . Uri . file ( item . project . _path ) ;
5555 vscode . commands . executeCommand ( 'vscode.openFolder' , projectPathUri , {
@@ -58,7 +58,7 @@ export function activate(context: vscode.ExtensionContext) {
5858
5959 } ) ;
6060
61- vscode . commands . registerCommand ( 'vscode-project-manageropenInWindow ' , ( project ) => {
61+ vscode . commands . registerCommand ( 'vscode-project-manager.openInWindow ' , ( project ) => {
6262
6363 let projectObj = Project . getOneById ( project ) ;
6464
@@ -331,7 +331,7 @@ class TreeItem extends vscode.TreeItem {
331331 this . iconPath = new vscode . ThemeIcon ( "folder" ) ;
332332 this . contextValue = 'TreeItemProject' ;
333333 this . command = {
334- command : 'vscode-project-manageropenInWindow ' ,
334+ command : 'vscode-project-manager.openInWindow ' ,
335335 title : 'openInWindow' ,
336336 arguments : [ this . project ?. _id ]
337337 } ;
0 commit comments