批量注释 control+/

批量注释 control+/


You can comment and uncomment lines of code using Ctrl+斜杠.
Ctrl+斜杠 comments or uncomments the current line or several selected lines with single line comments ({# in Django templates, or # in Python scripts).
Pressing Ctrl+Shift+斜杠 for a selected block of source code in a Django template surrounds the block with {% comment %} and {% endcomment %} tags.

原文地址:https://www.cnblogs.com/wawawawa-briefnote/p/9032750.html