当前位置:网站首页>idea 常用快捷键
idea 常用快捷键
2022-06-12 17:40:00 【*夜幕星河℡】
Ctrl相关
Ctrl + Z 撤销
Ctrl + O 快速重写父类方法
Ctrl + F 在当前文件进行文本查找
Ctrl + Y 删除光标所在行或删除选中的行
Ctrl + / 注释光标所在行代码,会根据当前不同文件类型使用不同的注释符号
Ctrl + D 复制光标所在行或复制选择的内容,并把复制内容插入光标位置下面
Ctrl + F1 在光标所在错误代码处显示错误信息
Ctrl + F12 弹出当前文件结构层,可以在弹出的层上直接输入进行筛选
Ctrl + P 方法参数提示
Ctrl + H 查看类的继承结构
Ctrl + W 递进式选择代码块
Ctrl + N 通过类名定位文件
Ctrl + B 进入光标所在的方法/变量的接口或是定义处,等效于Ctrl + 左键单击
Ctrl + 1,2,3,…9 定位到对应数值的书签位置 结合Ctrl + Shift + 1,2,3…9使用
Ctrl + Space 基础代码补全默认在Windows系统上被输入法占用,需要进行修改,建议修改为Ctrl + 逗号
Shift + Ctrl + ins 生成代码(如get,set方法,构造函数等)
AIt相关
AIt + Q 弹出一个提示,显示当前类的声明/上下文信息
AIt + Enter 根据光标所在问题,提供快速修复选择
Shift相关
Shift + F3 在查找模式下,定位到上一个匹配处
Ctrl + AIt相关
Ctrl + AIt + B 在某个调用的方法名上使用会跳到具体的实现处
Ctrl + AIt + L 格式化代码(可以对当前文件和整个包目录使用)
Ctrl + AIt + M 快速抽取方法
Ctrl + AIt + O 优化导入的类和包(可以对当前文件和整个包目录使用)
Ctrl + AIt + T 对选中的代码弹出环绕选项弹出层
Ctrl + AIt + V 快速引进变量
Ctrl + AIt + F7 寻找类或是变量被调用的地方,以弹出框的方式显示
Ctrl + AIt + ← 退回到上一个操作的地方
Ctrl + AIt + → 前进到上一个操作的地方
Ctrl + Alt+ Space 智能代码提示
Ctrl + Shift相关
Ctrl + Shift + F 根据输入内容查找整个项目或指定目录内文件
Ctrl + Shift + H 查看方法的继承结构
Ctrl + Shift + J 自动将下一行合并到前行末尾
Ctrl + Shift + N 通过文件名定位打开文件/目录,打开目录需要在输入的内容后面多加一个正斜杠
Ctrl + Shift + R 根据输入内容替换对应内容,范围为整个项目或指定目录内文件
Ctrl + Shift + U 对选中的代码进行大/小写轮流转换
Ctrl + Shift + W 递进式取消选择代码块
Ctrl + Shift + Z 取消撤销
Ctrl + Shift + / 代码块注释
Ctrl + Shift + + 展开所有代码
Ctrl + Shift + - 折叠所有代码
Ctrl + Shift + 1,2,3…9 快速添加指定数值的书签
Ctrl + Shift + F7 高亮显示所有该选择文本,按Esc高亮消失
Ctrl + Shift + Enter 自动结束代码,行某自动添加分号
AIt + Shift相关
Ctrl + AIt + Shift相关
其它
F2 跳转到下一个高亮错误或警告位置
F3 在查找模式下,定位到下一个匹配处
F4 编辑源
边栏推荐
- TensorFlow从网络读取数据
- Tidb Hackathon 2021 - pcloud: conduct icloud pcloud team interview on the database
- 5、Embedding
- Arm64 Stack backtrack
- ssm常用到的依赖
- Deep interest evolution network for click through rate prediction
- Application case of smart micro 32-bit MCU for server application cooling control
- 电控学习 第二周
- R language calculates data Table specifies the mean value of a numeric variable when the value of one grouped variable is fixed and another grouped variable
- The R language uses the pyramid function of epidisplay package to visualize the pyramid graph and the pyramid graph based on the existing summary data (table data)
猜你喜欢

Hangzhou AI developer meetup registration opens!

First acquaintance with go language

ShardingJDBC 分库分表详解

龙芯处理器内核中断讲解

Notes on user experience elements: user centered product design

Some introduction to FPC flexible circuit board design

Saturated! Can't future programmers work anymore?

php 实现无限极分类树(递归及其优化)

Volcano engine held a video cloud technology force summit and released a new experience oriented video cloud product matrix

Qiushengchang: Practice of oppo commercial data system construction
随机推荐
R language arma-garch-copula model and financial time series case
Volcano engine held a video cloud technology force summit and released a new experience oriented video cloud product matrix
Arm64棧回溯
I heard that distributed IDS cannot be incremented globally?
Hangzhou AI developer meetup registration opens!
错误记录:IllegalStateException: Optional int parameter ‘xxxx‘ is
R language calculates data Table specifies the mean value of a numeric variable when the value of one grouped variable is fixed and another grouped variable
Memory control of node
认识函数原创
Installation and use of rolabelimg
Alibaba cloud image station supports IPv6!
SQL游标(cursor)详细说明及内部循环使用示例
A variety of Qt development methods, which do you choose?
Go variables
Tensorflow prompts typeerror: unsupported operand type (s) for *: 'float' and 'nonetype‘
Introduction of one object one code tracing system
论文《Deep Interest Evolution Network for Click-Through Rate Prediction》
The R language uses the aggregate The plot function visualizes the summary statistical information of each subset (visualization is based on the probability value and its 95% confidence interval of th
bug记录:更新数据库时报错:Data truncation: Incorrect datetime value:
406. reconstruct the queue based on height