Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vscode Autocomplete is adding extra ={} to variables

In vscode, while editing a tsx file that contains React / Next.js code

When i write <demoComponent about={d and open suggestions i get all my variables for eg : demoVar and when i select demoVar instead of getting demoVar i Get demoVar={}|

how to solve this Example : enter image description here

like image 317
sasta_achar Avatar asked Jul 05 '26 16:07

sasta_achar


1 Answers

I had the same issue for a couple of days until I removed this extension JavaScript and Typescript Nightly

Downgrading this extension to v5.0.202301090 also works.

like image 182
3käsehoch Avatar answered Jul 08 '26 18:07

3käsehoch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!