Closed Belphegor27 closed 3 months ago
The sendSequence expect an object with the text
field like you had in the shortcuts.
Try the following setting.
{
"key": "j",
"name": "C#",
"type": "command",
"command": "workbench.action.terminal.sendSequence",
"args": {"text": "dotnet run"}
},
I am closing this now. Free feel to reopen if it doesn't solve your issue.
Bug description
I want to use "workbench.action.terminal.sendSequence" to pass "dotnet run" for C# But it doesn't work, while I use keybindings.json and it works
I hope I can fully get into which key to not using keybinding
To Reproduce
Expected behavior
Screenshots
Additional context
Keybindings
Click to toggle contents of `keybindings.json`
```jsonc { "key": "alt+a", "command": "workbench.action.terminal.sendSequence", "args": { "text": "dotnet run" } } ```
Settings
Click to toggle contents of `settings.json`
```jsonc { "key": "j", "name": "C#", "type": "command", "command": ["workbench.action.terminal.sendSequence"], "args": ["dotnet", "run"] }, ```
System information