DavesCodeMusings / mpremote-vscode

Visual Studio Code extension for mpremote Python module
BSD 2-Clause "Simplified" License
10 stars 1 forks source link

Some commands lack parameters when run from command palette (part 1) #12

Closed DavesCodeMusings closed 8 months ago

DavesCodeMusings commented 8 months ago

Some commands rely on context to determine the serial port. When right-clicking the serial port explorer to run the command, the information is provided via the context of the com port that was right-clicked. When using CTRL ALT P, this context is missing, so the command fails.

Solution would be to call getDevicePort()

DavesCodeMusings commented 8 months ago

Fixed in 1.21.1