How to comment/uncomment jsx (using keyboard `cmd /`) in VSC?

前端 未结 4 732
遇见更好的自我
遇见更好的自我 2021-01-23 08:13

Can anyone tell me how to comment JSX code in VSC?

I looked at the articles listed at the bottom, none of them seem to give a concrete solution, and the ticket appeared

4条回答
  •  时光说笑
    2021-01-23 08:49

    This might sound dumb but, have you tried re-installing VSCode? Commenting out JSX in a .js file works fine for me without any plugins. (I use windows)

提交回复
热议问题