Home >Development Tools >notepad >How to quickly comment code with notepad++
Check the status of the tool using the Notepad code tool. In order to facilitate the editing of the code, you need to add comment code to the code. Use the shortcut to add/uncomment in the menu mode to quickly comment the code.
Open a code file and select the code that needs to be commented. (Recommended learning: notepad )
##After selecting the note, click the menu 'Edit' options.
##The drop-down menu pops up to select and add/uncomment
The next-level menu pops up, select the [Add/Cancel Comment] option, you can find other shortcut keys, and use them to quickly comment on the code.
The shortcut key to add/cancel single-line comments is [Ctr Q].
The shortcut key to add/cancel multi-line comments is [Ctrl K]/[Ctrl Shift K].
The shortcut key to add/cancel block comments is [Ctrl Shift Q]/none.
The above is the detailed content of How to quickly comment code with notepad++. For more information, please follow other related articles on the PHP Chinese website!