From ea45a9d7c627aa57c2a406baf08151bf48da80bb Mon Sep 17 00:00:00 2001 From: Lucas Jahier Date: Wed, 24 Nov 2021 23:57:05 +0100 Subject: [PATCH] feat: add workspace name variable --- command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/command.js b/command.js index 5b44f86..55d3984 100644 --- a/command.js +++ b/command.js @@ -69,6 +69,7 @@ function insertFileHeaderComment(picked_template){ 'year': date.getFullYear(), 'company': 'Your Company', 'filename': vscode.window.activeTextEditor.document.fileName.replace(/^.*[\\\/]/, ''), + 'workspaceName': vscode.workspace.name, 'hour': h, 'minute': m, 'second': s