Skip to content

Commit b103d1b

Browse files
committed
Add logging for storage URI path in Database constructor
1 parent a07ee76 commit b103d1b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/database.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export class Database {
1717

1818
constructor(context: vscode.ExtensionContext) {
1919
this.context = context;
20+
// Log the storage URI path
21+
const storagePath = this.context.storageUri?.fsPath;
22+
if (storagePath) {
23+
console.log('Extension Data Storage Path:', storagePath);
24+
//vscode.window.showInformationMessage(`Data is stored at: ${storagePath}`);
25+
}
2026
}
2127

2228
async addEntry(date: Date, project: string, timeSpent: number) {

0 commit comments

Comments
 (0)