当前位置:网站首页>Shortcut key to comment code and cancel code in idea
Shortcut key to comment code and cancel code in idea
2022-07-02 08:28:00 【Ischanged】
idea The notes in are mainly divided into the following three types
Single-line comments :// The comment ( Most used ):Ctrl+/, Check the code and press the comment for the first time , Press the second time to cancel the comment , You do not need to select .
Multiline comment :/*
The comment */( Not recommended ):Ctrl+shift+/, Select the code block to comment for the first time and press comment , The second time, the cursor is positioned at the code of the annotation , There is no need to select the comment code , Press the key combination to cancel the comment .Documentation Comments : /** Documentation Comments
*/( It is common to describe the functions of methods and classes above methods and classes ), Can be used to automatically generate documents .“ Input /**, Click on Enter”, Automatically generate annotation templates based on parameters and return values .

边栏推荐
猜你喜欢

使用Matplotlib绘制图表初步

sqli-labs第12关

HCIA—應用層

ICMP Protocol

链表经典面试题(反转链表,中间节点,倒数第k个节点,合并分割链表,删除重复节点)

Sqlyog remote connection to MySQL database under centos7 system

Rotating linked list (illustration)

sqli-labs第2关

Animation synchronization of CarSim real-time simulation

Don't know mock test yet? An article to familiarize you with mock
随机推荐
Multi site high availability deployment
Use the kaggle training model and download your own training model
旋转链表(图解说明)
Introduction to anti interception technology of wechat domain name
sqli-labs第12关
Deep understanding of JVM
Opencv's experience of confusing X and Y coordinates
CarSim learning experience - rough translation 1
Use Wireshark to grab TCP three handshakes
Routing foundation - dynamic routing
sqli-labs第8关(布尔盲注)
St-link connection error invalid ROM table of STM32 difficult and miscellaneous diseases
Global and Chinese markets for conventional rubber track 2022-2028: Research Report on technology, participants, trends, market size and share
Matlab-其它
使用Matplotlib绘制图表初步
Vs code configuration problem
SQL操作数据库语法
Comparable,Comparator,Clonable 接口使用剖析
Summary of one question per day: stack and queue (continuously updated)
Carsim 学习心得-粗略翻译1