imlinhanchao / vsc-serialport-helper

VSCode Serial Port Extension. You can connect any serial port used to read / write data.
https://marketplace.visualstudio.com/items?itemName=hancel.serialport-helper
MIT License
31 stars 7 forks source link

serialport.sendEntry by shortcut #6

Closed RiKuRail closed 3 years ago

RiKuRail commented 3 years ago

How to specify port in keybinding.json? E.g. "COM8"

{ "key": "ctrl+backspace", "command": "serialport.sendEntry", "args": ??? }

imlinhanchao commented 3 years ago

You can update to 0.0.12 and setting like this:

{
    "key": "ctrl+backspace",
    "command": "serialport.sendEntry",
    "args": "COM8"
}
RiKuRail commented 3 years ago

Thanks, works perfect!