当前位置:网站首页>idea中常用的快捷键
idea中常用的快捷键
2022-07-26 23:54:00 【华不在意】
复制行: Ctrl+D
删除行: Ctrl+Y
剪切行: Ctrl+X
重命名类、变量、方法等:选择要重名的元素,按Shift+F6
格式化代码:Ctrl+Alt+L (使代码更规范,例如:缩进、每条语句换行)
转化大小写:Ctrl+Shift+U
自动声明变量接收方法调用表达式结果:Ctrl+Alt+V
选中行,用单行注释:Ctrl+/
选中行,取消单行注释:再按一次Ctrl+/
选中行,用多行注释:Ctrl+Shift+/
选中行,取消多行注释:再按一次Ctrl+Shift+/
插入空行开始编辑:
在当前光标下一行插入空行开始编辑:Shift+回车
在当前光标上一行插入空行开始编辑:Ctrl+Alt+回车
移动代码
向上移动:Ctrl+Shift+↑(整个方法移动) 或 Alt+Shift+↑ (逐行移动)
向下移动:Ctrl+Shift+↓(整个方法移动) 或 Alt+Shift+↓ (逐行移动)
智能提示:Alt+回车
边栏推荐
- Graduated and entered HW, from test engineer to project manager. Now I earn millions in goose factory every year. My suggestions to you
- Jmeter接口测试, 快速完成一个单接口请求
- 平成千字文(へいせいせんじもん) (平成12年9月10日 石渡 明 作) 宇宙広遠 銀河永久 日月運行 不乱無休 地球公転 季節変移 黄道星座 太陽年周 故郷群島 南熱北冷 海洋温暖 気候順良 青空飛雲 諸野深緑 湖泉静息 谷川清流 春桜一面 新芽
- 无效的目标发行版:17 的解决办法
- [Li Kou] 1859. Sort sentences
- Greenplum【部署 08】数据库小版本升级流程及问题处理 Error: open-source-greenplum-db-6 conflicts with
- White box test case design (my grandfather can understand it)
- Shell 分析日志文件命令全面总结
- Okaleido tiger logged into binance NFT on July 27, and has achieved good results in the first round
- C语言程序的编译(预处理)下
猜你喜欢
随机推荐
白盒测试案例设计(我爷爷都能看懂)
Debezium系列之:基于debezium offset拉取历史数据,确保数据没有丢失
Functions of libraries and Archives
手动从0搭建ABP框架-ABP官方完整解决方案和手动搭建简化解决方案实践
Static keyword
F8 catch traffic, F9 catch rabbits, f10turttle
中断、信号、系统调用
White box test case design (my grandfather can understand it)
数据库读写分离和分库分表
Tabbar of customized wechat applet on uni app
小程序utils
NAT network address translation protocol topology experiment
Shell 分析日志文件命令全面总结
After working in Tencent testing post for 5 years, I was ruthlessly dismissed in July, trying to wake up my brother who was still paddling
小程序怎样助力智能家居生态新模式
Okaleido tiger logged into binance NFT on July 27, and has achieved good results in the first round
LeetCode刷题——NO.238——除自身以外数组的乘积
Which securities firm is safer to open an account and buy REITs funds?
【Redis】快速入门
Leetcode skimming -- no.238 -- product of arrays other than itself









