File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 52
52
so you don't need to set it.
53
53
This is only needed if processes other than subprocesses need to interact with the director,
54
54
as in this example.
55
+
56
+ You can define a
57
+ [Custom Task in VSCode](https://code.visualstudio.com/docs/editor/tasks#_custom-tasks)
58
+ to rerun StepUp with the following `tasks.json` file:
59
+
60
+ ```json
61
+ {
62
+ "version": "2.0.0",
63
+ "tasks": [
64
+ {
65
+ "label": "StepUp run",
66
+ "type": "shell",
67
+ "command": "STEPUP_DIRECTOR_SOCKET=$(python -c 'import stepup.core.director; \
68
+ print(stepup.core.director.get_socket())') python -c 'from stepup.core.interact import run; run()'",
69
+ "options": {"cwd": "./path/from/project/root/to/stepup/root/"},
70
+ "presentation": {
71
+ "echo": true,
72
+ "reveal": "silent",
73
+ "focus": false,
74
+ "panel": "shared",
75
+ "showReuseMessage": false,
76
+ "clear": true
77
+ }
78
+ }
79
+ ]
80
+ }
81
+ ```
55
82
"""
56
83
57
84
from .api import RPC_CLIENT , translate
You can’t perform that action at this time.
0 commit comments