How to make a comment block in sublime text 3?

0

Well, I want to select a text and make a comment with a keyboard shortcut

of this

  <select class="form-control" id="exampleFormControlSelect1" *ngFor="let datos 
  of archivo">

to this

 <!--<select class="form-control" id="exampleFormControlSelect1" *ngFor="let 
 datos of archivo">-->

without having to be opening and closing tag

    
asked by ortiga 03.03.2018 в 22:19
source

2 answers

1

Hi, just press the Ctrl key + the key that has the symbol} once you have already selected the block of code you want to comment on

    
answered by 03.03.2018 / 22:29
source
3

To comment on code segment in Sublime Text 3, just use the following key combinations.

Windows / Linux

  • Line comment: Ctrl + /
  • Block comment: Ctrl + Shift + /

macOS

  • Line comment: Cmd + /
  • Block comment: Cmd + Alt + /

More references in the following links:

answered by 03.03.2018 в 22:36