geddski / geddski/macros

Macro into terminal

Open
#31 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
177
Forks
36
PR merge metrics
No merged PRs in 30d

Description

I'm able to make a macro that switches focus to the embedded terminal, but if the macro tries to type a command in the terminal, it gets pasted in the former code window. Here's what I have:

```"foomacro": [
"workbench.action.terminal.focus",
{"command": "type", "args": {"text": "oh hai"}},
]
```
What am I missing? Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the macro definition shown in the issue and the VS Code commands workbench.action.terminal.focus and type. Reproduce whether focus changes before typing; done means the text is entered in the embedded terminal rather than the former code window.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.