What is the problem that VScode cannot use {/ * xxxx * /} automatically when commenting on jsx in react file?

when VScode comments the jsx in the react file, is there any configuration missing from the / / used in front of the code?

Mar.15,2021

should be caused by the vscode plug-in Babel ES6/ES7
using Babel JavaScript

instead of this plug-in, solve the annotation problem and keep the es6/7 code color correct


see if you have enabled the plug-in babel, to disable it. It took me a long time to find out why.


Hello, have you solved this problem? I have also encountered the same problem. May I ask how to solve


clipboard.png
choose JavaScript React

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf59ba-31f7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf59ba-31f7a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?