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

前端 未结 4 738
遇见更好的自我
遇见更好的自我 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:51

    Select the text to be commented then press Ctrl+K and Ctrl+C.

提交回复
热议问题