2

Does Visual Studio Code have a comment menu item and/or shortcut keys?

For example, I'm trying to comment out some code in a component.ts.
In VS I could normally just select the code and then click the "Comment" toolbar icon. But I don't see a way to do this in Visual Studio Code.

Lennart
  • 9,657
  • 16
  • 68
  • 84
user10307666
  • 151
  • 1
  • 4
  • 14
  • 1
    Possible duplicate of [How to comment multiple lines in Visual Studio Code?](https://stackoverflow.com/questions/34316156/how-to-comment-multiple-lines-in-visual-studio-code) – Matt Sep 04 '18 at 19:18

1 Answers1

0

Comment out: Ctrl + K + C

Uncomment: Ctrl + K + U

ErTR
  • 863
  • 1
  • 14
  • 37