How to comment multiple lines in Visual Studio Code?

后端 未结 30 2021
感情败类
感情败类 2020-11-28 00:23

I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code.

Is it possible to comment and uncomment multiple lines in Visual Studio Co

30条回答
  •  心在旅途
    2020-11-28 01:14

    Multi-Line Comment in VS Code

    To comment the code select the lines and hit: Alt + Shift + A

    To Uncomment select the commented code and hit: Alt + Shift + A

提交回复
热议问题