update vsc

This commit is contained in:
Siheng Zhao
2024-01-13 23:20:36 +08:00
parent 0242657b86
commit 347160a35f
4 changed files with 49 additions and 10 deletions

View File

@@ -5,7 +5,11 @@ from file import get_vm_file
def get_vscode_config(env, config: Dict[str, Any]) -> str:
get_replay(env, config["trajectory"])
trajectory = [{"type": "hotkey", "param": ["command", "shift", "p"]},
{"type": "typewrite", "param": "OpenProject"},
{"type": "press", "param": "enter"}]
get_replay(env, trajectory)
return get_vm_file(env, {
"path": config["path"],