Vscode-arduino: Cannot select serial port (VS Code, Arduino Extension)

Created on 12 Sep 2020  路  44Comments  路  Source: microsoft/vscode-arduino

Issue Type: Bug

Installed latest version of visual studio code, then installed latest version of Arduino extension. I plugged in the Arduino Uno and tried to select the serial port which it is connected to. However I can't open the menu to select a serial port. Neither the F1 terminal or the button in the blue bar works.

Extension version: 0.3.2
VS Code version: Code 1.49.0 (e790b931385d72cf5669fcefc51cdf65990efa5d, 2020-09-10T13:22:08.892Z)
OS version: Windows_NT x64 10.0.18363


System Info

|Item|Value|
|---|---|
|CPUs|AMD Ryzen 7 3700X 8-Core Processor (16 x 3600)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|15.95GB (10.68GB free)|
|Process Argv|--crash-reporter-id ccc4ce18-4fca-4b09-b7a1-1a8b9a2e35f3|
|Screen Reader|no|
|VM|0%|


Most helpful comment

As a workaround:

  1. open the folder where your .ino file resides
  2. open the .vscode folder
  3. edit arduino.json
  4. change the port
    e.g.
{
  "port":"COM4"
}

All 44 comments

Same issue here. At the moment the workaround is to manually change it in .vscode\arduino.json.

Same issue here as well.

Same issue here. Have to roll back VS Code one version but snap keeps upgrading it by the end of the day. Royal pain.

Same issue here. Real PITA, cannot open serial port at all. Reinstall of Arduino Extension doesn't help

image

Same issue here as well.

Same behavior seen here on Win10
VSCode 1.49.0
Extension 0.3.2

Clicking on