简体   繁体   中英

VSCode Intellisense adding "={}" after grabbing existing variable in typescript

My intellisense had been working fine.. but after a recent upgrade it seems like things have broken:

在此处输入图像描述

classNames is used as a function, and filterBy is a previously defined variable - I don't understand why intellisense has changed to all of the sudden add ="" and ={} when grabbing these previously defined variables.. is there configuration I need to change?

I was able to fix this by removing the JavaScript and TypeScript Nightly VSC extension.

You can also workaround this issue by changing the setting 'JSX Attribute Completion Style' to none.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM