Skip to content

Commit 6c3e244

Browse files
committed
feat: Complete renaming from promptsSync to promptVault for consistency
1 parent 9fda821 commit 6c3e244

File tree

7 files changed

+63
-63
lines changed

7 files changed

+63
-63
lines changed

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# VS Code Extension Change Log
22

3-
All notable changes to the "prompts-sync-extension" extension will be documented in this file.
3+
All notable changes to the "prompt-vault-extension" extension will be documented in this file.
44

55
## [1.1.0] - 2025-09-01
66

@@ -51,14 +51,14 @@ All notable changes to the "prompts-sync-extension" extension will be documented
5151

5252
### Configuration Options
5353

54-
- `promptsSync.enabled` - Enable/disable automatic syncing
55-
- `promptsSync.frequency` - Sync frequency (startup, hourly, daily, weekly, manual)
56-
- `promptsSync.customPath` - Custom prompts directory path
57-
- `promptsSync.repository` - Repository URL to sync from
58-
- `promptsSync.branch` - Repository branch to sync
59-
- `promptsSync.syncOnStartup` - Sync when VS Code starts
60-
- `promptsSync.showNotifications` - Show sync status notifications
61-
- `promptsSync.debug` - Enable debug logging
54+
- `promptVault.enabled` - Enable/disable automatic syncing
55+
- `promptVault.frequency` - Sync frequency (startup, hourly, daily, weekly, manual)
56+
- `promptVault.customPath` - Custom prompts directory path
57+
- `promptVault.repository` - Repository URL to sync from
58+
- `promptVault.branch` - Repository branch to sync
59+
- `promptVault.syncOnStartup` - Sync when VS Code starts
60+
- `promptVault.showNotifications` - Show sync status notifications
61+
- `promptVault.debug` - Enable debug logging
6262

6363
### Commands
6464

INSTALL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
1. **Install the extension:**
88

99
```bash
10-
code --install-extension prompts-sync-extension-1.0.0.vsix
10+
code --install-extension prompt-vault-extension-1.0.0.vsix
1111
```
1212

1313
2. **Or install via VS Code UI:**
@@ -32,29 +32,29 @@
3232

3333
2. **Configure Extension (Optional):**
3434
- Go to Settings (`Ctrl+,`)
35-
- Search for "Prompts Sync"
35+
- Search for "Prompt Vault"
3636
- Add a git repository to sync prompts from.
3737
- Adjust settings as needed
3838

3939
### 2. Test Manual Sync
4040

4141
1. **Open Command Palette** (`Ctrl+Shift+P`)
42-
2. **Type:** "Prompts Sync: Sync Now"
42+
2. **Type:** "Prompt Vault: Sync Now"
4343
3. **Check status bar** for sync progress indicators
4444
4. **Verify prompts directory** was created and populated
4545

4646
### 3. Test Status Display
4747

4848
1. **Open Command Palette** (`Ctrl+Shift+P`)
49-
2. **Type:** "Prompts Sync: Show Status"
49+
2. **Type:** "Prompt Vault: Show Status"
5050
3. **Review configuration** and status information
5151

5252
### 4. Check Debug Logs
5353

5454
1. **Enable debug mode:**
55-
- Settings → Search "promptsSync.debug" → Enable
55+
- Settings → Search "promptVault.debug" → Enable
5656
2. **View logs:**
57-
- View → Output → Select "Prompts Sync" channel
57+
- View → Output → Select "Prompt Vault" channel
5858

5959
## Expected Behavior
6060

@@ -103,10 +103,10 @@
103103

104104
```bash
105105
# Check if extension is loaded
106-
code --list-extensions | grep prompts-sync
106+
code --list-extensions | grep prompt-vault
107107

108108
# View extension logs
109-
# Open VS Code → View → Output → Select "Prompts Sync"
109+
# Open VS Code → View → Output → Select "Prompt Vault"
110110

111111
# Reset extension data
112112
# Close VS Code, delete prompts directory, restart VS Code

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Prompts Sync Extension
1+
# Prompt Vault Extension
22

33
> Automatically sync GitHub Copilot prompts from multiple Git repositories to your local VS Code environment.
44
@@ -28,7 +28,7 @@ The Prompts Sync Extension automatically synchronizes the latest GitHub Copilot
2828

2929
### Installation
3030

31-
1. Download the latest `prompts-sync-extension.vsix` file from the releases
31+
1. Download the latest `prompt-vault-extension.vsix` file from the releases
3232
2. Open VS Code
3333
3. Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on macOS) to open the command palette
3434
4. Type "Extensions: Install from VSIX" and select it
@@ -38,7 +38,7 @@ The Prompts Sync Extension automatically synchronizes the latest GitHub Copilot
3838
### First-Time Setup
3939

4040
1. Open VS Code Settings (`Ctrl+,` or `Cmd+,`)
41-
2. Search for "Prompts Sync"
41+
2. Search for "Prompt Vault"
4242
3. Configure your preferences (optional - defaults work for most users)
4343
4. The extension will automatically perform an initial sync
4444

@@ -48,16 +48,16 @@ The Prompts Sync Extension automatically synchronizes the latest GitHub Copilot
4848

4949
| Setting | Description | Default | Type |
5050
| ------------------------------- | -------------------------------- | -------------------------------------------------------------------- | ------- |
51-
| `promptsSync.enabled` | Enable/disable automatic syncing | `true` | boolean |
52-
| `promptsSync.frequency` | Sync frequency | `"daily"` | string |
53-
| `promptsSync.customPath` | Custom prompts directory path | `""` | string |
54-
| `promptsSync.repositories` | List of repository URLs | `["https://github.com/MounirAbdousNventive/prompts-logient-nventive"]` | array |
55-
| `promptsSync.branch` | Repository branch to sync | `"master"` | string |
56-
| `promptsSync.syncOnStartup` | Sync when VS Code starts | `true` | boolean |
57-
| `promptsSync.showNotifications` | Show sync status notifications | `true` | boolean |
58-
| `promptsSync.syncChatmode` | Sync chatmode prompts | `true` | boolean |
59-
| `promptsSync.syncInstructions` | Sync instructions prompts | `true` | boolean |
60-
| `promptsSync.syncPrompt` | Sync prompt files | `true` | boolean |
51+
| `promptVault.enabled` | Enable/disable automatic syncing | `true` | boolean |
52+
| `promptVault.frequency` | Sync frequency | `"daily"` | string |
53+
| `promptVault.customPath` | Custom prompts directory path | `""` | string |
54+
| `promptVault.repositories` | List of repository URLs | `["https://github.com/MounirAbdousNventive/prompts-logient-nventive"]` | array |
55+
| `promptVault.branch` | Repository branch to sync | `"master"` | string |
56+
| `promptVault.syncOnStartup` | Sync when VS Code starts | `true` | boolean |
57+
| `promptVault.showNotifications` | Show sync status notifications | `true` | boolean |
58+
| `promptVault.syncChatmode` | Sync chatmode prompts | `true` | boolean |
59+
| `promptVault.syncInstructions` | Sync instructions prompts | `true` | boolean |
60+
| `promptVault.syncPrompt` | Sync prompt files | `true` | boolean |
6161

6262
### Sync Frequency Options
6363

@@ -75,7 +75,7 @@ The extension automatically detects the correct prompts directory for your opera
7575
- **Windows**: `%APPDATA%\Code\User\prompts`
7676
- **Linux**: `~/.config/Code/User/prompts`
7777

78-
You can override this by setting a custom path in `promptsSync.customPath`.
78+
You can override this by setting a custom path in `promptVault.customPath`.
7979

8080
### Multiple Repository Configuration
8181

@@ -85,13 +85,13 @@ The extension supports syncing from multiple Git repositories simultaneously. Th
8585

8686
1. **Using VS Code Settings UI**:
8787
- Open Settings (`Ctrl+,` or `Cmd+,`)
88-
- Search for "promptsSync.repositories"
88+
- Search for "promptVault.repositories"
8989
- Click "Add Item" to add each repository URL
9090

9191
2. **Using JSON Configuration**:
9292
```json
9393
{
94-
"promptsSync.repositories": [
94+
"promptVault.repositories": [
9595
"https://github.com/your-org/prompts-main",
9696
"https://github.com/your-org/prompts-experimental",
9797
"https://github.com/another-org/shared-prompts"
@@ -188,7 +188,7 @@ All files are placed directly in the `User/prompts/` directory, removing any sub
188188
Enable debug logging:
189189

190190
1. Open VS Code Settings
191-
2. Search for "promptsSync.debug"
191+
2. Search for "promptVault.debug"
192192
3. Enable debug mode
193193
4. Check the "Prompts Sync" output channel for detailed logs
194194

@@ -272,7 +272,7 @@ We welcome contributions to improve the extension! Please see our [Contribution
272272
### Version 1.2.0 (Multiple Repository Support)
273273

274274
-**New Feature**: Support for syncing from multiple Git repositories
275-
- ✅ Added `promptsSync.repositories` array setting for multiple repository URLs
275+
- ✅ Added `promptVault.repositories` array setting for multiple repository URLs
276276
- ✅ Enhanced error handling for repository conflicts and failures
277277
- ✅ Improved status display showing multi-repository sync results
278278
- ✅ Graceful handling of partial sync success scenarios
@@ -282,9 +282,9 @@ We welcome contributions to improve the extension! Please see our [Contribution
282282
### Version 1.1.0 (Selective Sync & Flattened Structure)
283283

284284
-**New Feature**: Selective sync settings for different prompt types
285-
- ✅ Added `promptsSync.syncChatmode` setting (default: true)
286-
- ✅ Added `promptsSync.syncInstructions` setting (default: true)
287-
- ✅ Added `promptsSync.syncPrompt` setting (default: true)
285+
- ✅ Added `promptVault.syncChatmode` setting (default: true)
286+
- ✅ Added `promptVault.syncInstructions` setting (default: true)
287+
- ✅ Added `promptVault.syncPrompt` setting (default: true)
288288
- ✅ Flattened folder structure - all files sync directly to `User/prompts/`
289289
- ✅ Enhanced status display showing selected sync types
290290
- ✅ Improved configurability and user control

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"configuration": {
2424
"title": "Prompt Vault",
2525
"properties": {
26-
"promptsSync.enabled": {
26+
"promptVault.enabled": {
2727
"type": "boolean",
2828
"default": true,
2929
"description": "Enable automatic synchronization"
3030
},
31-
"promptsSync.frequency": {
31+
"promptVault.frequency": {
3232
"type": "string",
3333
"enum": [
3434
"startup",
@@ -40,12 +40,12 @@
4040
"default": "daily",
4141
"description": "Frequency of automatic sync"
4242
},
43-
"promptsSync.customPath": {
43+
"promptVault.customPath": {
4444
"type": "string",
4545
"default": "",
4646
"description": "Custom prompts directory path (leave empty for default)"
4747
},
48-
"promptsSync.repositories": {
48+
"promptVault.repositories": {
4949
"type": "array",
5050
"items": {
5151
"type": "string"
@@ -54,40 +54,40 @@
5454
"description": "List of repository URLs to sync from",
5555
"order": 0
5656
},
57-
"promptsSync.branch": {
57+
"promptVault.branch": {
5858
"type": "string",
5959
"default": "main",
6060
"description": "Repository branch to sync",
6161
"order": 10
6262
},
63-
"promptsSync.syncOnStartup": {
63+
"promptVault.syncOnStartup": {
6464
"type": "boolean",
6565
"default": true,
6666
"description": "Sync when Visual Studio Code starts"
6767
},
68-
"promptsSync.showNotifications": {
68+
"promptVault.showNotifications": {
6969
"type": "boolean",
7070
"default": true,
7171
"description": "Show sync status notifications"
7272
},
73-
"promptsSync.debug": {
73+
"promptVault.debug": {
7474
"type": "boolean",
7575
"default": false,
7676
"description": "Enable debug logging"
7777
},
78-
"promptsSync.syncChatmode": {
78+
"promptVault.syncChatmode": {
7979
"type": "boolean",
8080
"default": true,
8181
"description": "Sync chatmodes",
8282
"order": 2
8383
},
84-
"promptsSync.syncInstructions": {
84+
"promptVault.syncInstructions": {
8585
"type": "boolean",
8686
"default": false,
8787
"description": "Sync instructions",
8888
"order": 3
8989
},
90-
"promptsSync.syncPrompt": {
90+
"promptVault.syncPrompt": {
9191
"type": "boolean",
9292
"default": true,
9393
"description": "Sync prompts",

src/configManager.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ export class ConfigManager {
1818
};
1919

2020
get enabled(): boolean {
21-
return vscode.workspace.getConfiguration('promptsSync').get('enabled', true);
21+
return vscode.workspace.getConfiguration('promptVault').get('enabled', true);
2222
}
2323

2424
get frequency(): keyof SyncFrequency {
25-
return vscode.workspace.getConfiguration('promptsSync').get('frequency', 'daily');
25+
return vscode.workspace.getConfiguration('promptVault').get('frequency', 'daily');
2626
}
2727

2828
get customPath(): string {
29-
return vscode.workspace.getConfiguration('promptsSync').get('customPath', '');
29+
return vscode.workspace.getConfiguration('promptVault').get('customPath', '');
3030
}
3131

3232
get repositories(): string[] {
33-
const repository = vscode.workspace.getConfiguration('promptsSync').get<string[]>('repositories', []);
33+
const repository = vscode.workspace.getConfiguration('promptVault').get<string[]>('repositories', []);
3434
const uniqueArray = Array.from(new Set(repository));
3535
if(uniqueArray.length != repository.length) {
3636
vscode.window.showWarningMessage('Duplicate repository URLs found in configuration. Duplicates have been removed.');
@@ -39,31 +39,31 @@ export class ConfigManager {
3939
}
4040

4141
get branch(): string {
42-
return vscode.workspace.getConfiguration('promptsSync').get('branch', 'main');
42+
return vscode.workspace.getConfiguration('promptVault').get('branch', 'main');
4343
}
4444

4545
get syncOnStartup(): boolean {
46-
return vscode.workspace.getConfiguration('promptsSync').get('syncOnStartup', true);
46+
return vscode.workspace.getConfiguration('promptVault').get('syncOnStartup', true);
4747
}
4848

4949
get showNotifications(): boolean {
50-
return vscode.workspace.getConfiguration('promptsSync').get('showNotifications', true);
50+
return vscode.workspace.getConfiguration('promptVault').get('showNotifications', true);
5151
}
5252

5353
get debug(): boolean {
54-
return vscode.workspace.getConfiguration('promptsSync').get('debug', false);
54+
return vscode.workspace.getConfiguration('promptVault').get('debug', false);
5555
}
5656

5757
get syncChatmode(): boolean {
58-
return vscode.workspace.getConfiguration('promptsSync').get('syncChatmode', true);
58+
return vscode.workspace.getConfiguration('promptVault').get('syncChatmode', true);
5959
}
6060

6161
get syncInstructions(): boolean {
62-
return vscode.workspace.getConfiguration('promptsSync').get('syncInstructions', false);
62+
return vscode.workspace.getConfiguration('promptVault').get('syncInstructions', false);
6363
}
6464

6565
get syncPrompt(): boolean {
66-
return vscode.workspace.getConfiguration('promptsSync').get('syncPrompt', true);
66+
return vscode.workspace.getConfiguration('promptVault').get('syncPrompt', true);
6767
}
6868

6969
getSyncInterval(): number {
@@ -93,7 +93,7 @@ export class ConfigManager {
9393

9494
onConfigurationChanged(callback: () => void): vscode.Disposable {
9595
return vscode.workspace.onDidChangeConfiguration(event => {
96-
if (event.affectsConfiguration('promptsSync')) {
96+
if (event.affectsConfiguration('promptVault')) {
9797
callback();
9898
}
9999
});

src/utils/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class Logger {
88
}
99

1010
private get isDebugEnabled(): boolean {
11-
return vscode.workspace.getConfiguration('promptsSync').get('debug', false);
11+
return vscode.workspace.getConfiguration('promptVault').get('debug', false);
1212
}
1313

1414
private log(level: string, message: string): void {

src/utils/notifications.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export class NotificationManager {
44
private config: vscode.WorkspaceConfiguration;
55

66
constructor() {
7-
this.config = vscode.workspace.getConfiguration('promptsSync');
7+
this.config = vscode.workspace.getConfiguration('promptVault');
88
}
99

1010
private get showNotifications(): boolean {

0 commit comments

Comments
 (0)