Skip to content

Commit

Permalink
110
Browse files Browse the repository at this point in the history
  • Loading branch information
ctf0 committed Apr 18, 2024
1 parent 495b1ab commit a0e9b67
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@
### 1.0.0

- add support for macro cmnds suggestions

### 1.1.0

- fix not reflecting `"macros.qp-allow"` list changes when executing `Macros: Execute`
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "macros",
"displayName": "macros",
"description": "automate repetitive actions with custom macros",
"version": "1.0.0",
"version": "1.1.0",
"publisher": "ctf0",
"repository": "https://github.com/ctf0/macros",
"engines": {
"vscode": "^1.80.0"
"vscode": "^1.85.0"
},
"categories": [
"Other"
Expand Down Expand Up @@ -71,9 +71,9 @@
"watch": "npm run esbuild"
},
"devDependencies": {
"@types/node": "^20.8.9",
"typescript": "^5.2.2",
"esbuild": "^0.19.5",
"@types/vscode": "^1.80.0"
"@types/node": "^20.12.7",
"typescript": "^5.4.5",
"esbuild": "^0.20.2",
"@types/vscode": "^1.85.0"
}
}
5 changes: 5 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export function activate(context: vscode.ExtensionContext) {
loadMacros(context);
}
}),
vscode.workspace.onDidChangeConfiguration((e) => {
if (e.affectsConfiguration(`${util.PACKAGE_NAME}.qp-allow`)) {
util.readConfig();
}
}),
vscode.commands.registerCommand(`${util.PACKAGE_NAME}.execute`, async () => {
vscode.window.showQuickPick(getQPList()).then((selection) => {
if (selection) {
Expand Down

0 comments on commit a0e9b67

Please sign in to comment.