Home  >  Article  >  Development Tools  >  How to quickly comment code with notepad++

How to quickly comment code with notepad++

(*-*)浩
(*-*)浩Original
2019-08-10 13:27:2110036browse

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.

How to quickly comment code with notepad++

Open a code file and select the code that needs to be commented. (Recommended learning: notepad )

How to quickly comment code with notepad++

##After selecting the note, click the menu 'Edit' options.

How to quickly comment code with notepad++

##The drop-down menu pops up to select and add/uncomment

How to quickly comment code with notepad++

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn