Skip to content

Commit 7e32b80

Browse files
committed
Document VSCode keybinding
1 parent 352a608 commit 7e32b80

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

stepup/core/interact.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
This is only needed if processes other than subprocesses need to interact with the director,
5454
as in this example.
5555
56+
## Configuration of a Task in VSCode
57+
5658
You can define a
5759
[Custom Task in VSCode](https://code.visualstudio.com/docs/editor/tasks#_custom-tasks)
5860
to rerun StepUp with the following `tasks.json` file:
@@ -79,6 +81,19 @@
7981
]
8082
}
8183
```
84+
85+
The following `keybindings.json` file will bind `ctrl+d` to run the task:
86+
87+
```json
88+
[
89+
{
90+
"key": "ctrl+d",
91+
"command": "workbench.action.tasks.runTask",
92+
"args": "StepUp run"
93+
}
94+
]
95+
```
96+
8297
"""
8398

8499
from .api import RPC_CLIENT, translate

0 commit comments

Comments
 (0)