Skip to content

Multiple commas in header throws compile time error #107564

@tonymanuel

Description

@tonymanuel

Issue Type: Bug

Type a React component name that you want to import. While typing vs code intellisense shows the auto import options. Once you click on auto import, the component get imported and if it a named import from a file, there will be multiple commas appended in the imported header and throws compile time error. Eg: import {TextField,,Radio} from "somePackage". This issue started occuring from my last update

VS Code version: Code 1.49.2 (e5e9e69, 2020-09-24T16:26:09.944Z)
OS version: Linux x64 5.4.0-47-generic

System Info
Item Value
CPUs Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz (4 x 1814)
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: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 1, 2, 2
Memory (System) 11.62GB (1.49GB free)
Process Argv --no-sandbox --unity-launch --crash-reporter-id e3aec01a-1e7e-46e4-816c-9c96f8476ab2
Screen Reader no
VM 67%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
Extensions (7)
Extension Author (truncated) Version
vscode-intelephense-client bme 1.5.4
gitlens eam 10.2.2
prettier-vscode esb 5.7.1
php-debug fel 1.13.0
php-xdebug kak 0.0.7
debugger-for-chrome msj 4.12.11
vscode-php-getters-setters php 1.2.3

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions