Skip to content

Commit

Permalink
feat: add re-run command
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed Oct 15, 2024
1 parent 7debd91 commit 53c54d4
Show file tree
Hide file tree
Showing 5 changed files with 229 additions and 108 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
| `vscode-hurl-runner.manageInlineVariables` | Hurl Runner: Manage Inline Variables |
| `vscode-hurl-runner.selectEnvFile` | Hurl Runner: Select Environment File |
| `vscode-hurl-runner.runHurlSelection` | Hurl Runner: Run Selected Text |
| `vscode-hurl-runner.rerunLastCommand` | Hurl Runner: Rerun Last Command |

<!-- commands -->

Expand Down
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
{
"command": "vscode-hurl-runner.runHurlSelection",
"title": "Hurl Runner: Run Selected Text"
},
{
"command": "vscode-hurl-runner.rerunLastCommand",
"title": "Hurl Runner: Rerun Last Command"
}
],
"viewsContainers": {
Expand Down Expand Up @@ -135,6 +139,12 @@
"key": "ctrl+alt+h",
"mac": "cmd+alt+h",
"when": "editorTextFocus && editorLangId == hurl && editorHasSelection"
},
{
"command": "vscode-hurl-runner.rerunLastCommand",
"key": "ctrl+alt+shift+r",
"mac": "cmd+alt+shift+r",
"when": "editorTextFocus && editorLangId == hurl"
}
],
"languages": [
Expand All @@ -158,7 +168,7 @@
"@antfu/ni": "0.23.0",
"@biomejs/biome": "1.9.3",
"@types/node": "22.7.5",
"@types/vscode": "1.94.0",
"@types/vscode": "1.93.0",
"@vscode/vsce": "3.1.1",
"bumpp": "9.7.1",
"esno": "4.8.0",
Expand All @@ -172,7 +182,7 @@
},
"packageManager": "pnpm@9.12.1",
"engines": {
"vscode": "^1.92.0"
"vscode": "^1.93.0"
},
"icon": "res/icon.png",
"sponsor": {
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 53c54d4

Please sign in to comment.