Skip to content

Commit 9fda821

Browse files
committed
feat: Rename commands from promptsSync to promptVault for consistency
1 parent b164863 commit 9fda821

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ All notable changes to the "prompts-sync-extension" extension will be documented
6262

6363
### Commands
6464

65-
- `promptsSync.syncNow` - Manually trigger sync
66-
- `promptsSync.showStatus` - Show extension status and configuration
65+
- `promptVault.syncNow` - Manually trigger sync
66+
- `promptVault.showStatus` - Show extension status and configuration

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@
9797
},
9898
"commands": [
9999
{
100-
"command": "promptsSync.syncNow",
100+
"command": "promptVault.syncNow",
101101
"title": "Sync Now",
102-
"category": "Prompts Sync"
102+
"category": "Prompt Vault"
103103
},
104104
{
105-
"command": "promptsSync.showStatus",
105+
"command": "promptVault.showStatus",
106106
"title": "Show Status",
107-
"category": "Prompts Sync"
107+
"category": "Prompt Vault"
108108
}
109109
]
110110
},

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ export function activate(context: vscode.ExtensionContext) {
1717
syncManager = new SyncManager(configManager, statusBarManager, logger);
1818

1919
// Register commands
20-
const syncNowCommand = vscode.commands.registerCommand('promptsSync.syncNow', async () => {
20+
const syncNowCommand = vscode.commands.registerCommand('promptVault.syncNow', async () => {
2121
await syncManager.syncNow();
2222
});
2323

24-
const showStatusCommand = vscode.commands.registerCommand('promptsSync.showStatus', async () => {
24+
const showStatusCommand = vscode.commands.registerCommand('promptVault.showStatus', async () => {
2525
await syncManager.showStatus();
2626
});
2727

src/statusBarManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class StatusBarManager implements vscode.Disposable {
1717
vscode.StatusBarAlignment.Right,
1818
100
1919
);
20-
this.statusBarItem.command = 'promptsSync.syncNow';
20+
this.statusBarItem.command = 'promptVault.syncNow';
2121
this.statusBarItem.show();
2222
this.updateStatusBar();
2323
}

src/utils/notifications.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class NotificationManager {
4848
'No error details available';
4949
await this.showInfo(details);
5050
} else if (result === 'Retry Failed') {
51-
vscode.commands.executeCommand('promptsSync.syncNow');
51+
vscode.commands.executeCommand('promptVault.syncNow');
5252
}
5353
}
5454

@@ -60,7 +60,7 @@ export class NotificationManager {
6060
);
6161

6262
if (result === 'Retry') {
63-
vscode.commands.executeCommand('promptsSync.syncNow');
63+
vscode.commands.executeCommand('promptVault.syncNow');
6464
} else if (result === 'Show Logs') {
6565
vscode.commands.executeCommand('workbench.action.output.show');
6666
}

0 commit comments

Comments
 (0)