百度360必应搜狗淘宝本站头条
当前位置:网站首页 > 技术分类 > 正文

IntelliJ IDEA常用快捷键

ztj100 2025-02-08 13:56 15 浏览 0 评论

ESC

从工具窗口进入代码文件窗口

Tab 缩进

Alt + Enter

IntelliJ IDEA 根据光标所在问题,提供快速修复选择,光标放在的位置不同提示的结果也不同,比如导包。

Alt+Insert

生成构造函数、set/get 方法

Alt + Ctrl +V

抽取变量,比如调用一个方法,但不知道返回什么数据类型,你可能点进去看方法的返回值,用这个快捷键可自动生成。

Alt + Shift + 前方向键

移动光标所在行向上移动

Alt + Shift + 后方向键

移动光标所在行向下移动

连按两次Shift

弹出 Search Everywhere 弹出层,

Ctrl + Z 撤销

Ctrl + Y

删除光标所在行 或 删除选中的行

Ctrl + D

复制光标所在行或复制选择内容,并把复制内容插入光标位置下面

Ctrl + O

选择可重写的方法

Ctrl + N

根据输入的类名查找类文件

Ctrl + H

显示当前类的层次结构

Ctrl + J

插入自定义动态代码模板,比如输入mian,补全mian方法。

Ctrl + Delete

删除光标后面的单词或是中文句

Ctrl + BackSpace

删除光标前面的单词或是中文句

Ctrl + 左键单击

在打开的文件标题上,弹出该文件路径

Ctrl + Alt + 左方向键

退回到上一个操作的地方

Ctrl + Alt + 右方向键

前进到上一个操作的地方

Ctrl + Shift + R

根据输入内容替换对应内容,范围为整个项目或指定目录内文件

Ctrl + Shift + / 代码块注释

Ctrl+R 替换文本

Ctrl+F 查找文本

Ctrl+Shift+U 大小写切换

介绍了比较常用的,如若还有常用的,欢迎大家补充。

相关推荐

10条军规:电商API从数据泄露到高可用的全链路防护

电商API接口避坑指南:数据安全、版本兼容与成本控制的10个教训在电商行业数字化转型中,API接口已成为连接平台、商家、用户与第三方服务的核心枢纽。然而,从数据泄露到版本冲突,从成本超支到系统崩溃,A...

Python 文件处理在实际项目中的困难与应对策略

在Python项目开发,文件处理是一项基础且关键的任务。然而,在实际项目中,Python文件处理往往会面临各种各样的困难和挑战,从文件格式兼容性、编码问题,到性能瓶颈、并发访问冲突等。本文将深入...

The Future of Manufacturing with Custom CNC Parts

ThefutureofmanufacturingisincreasinglybeingshapedbytheintegrationofcustomCNC(ComputerNumericalContro...

Innovative Solutions in Custom CNC Machining

Inrecentyears,thelandscapeofcustomCNCmachininghasevolvedrapidly,drivenbyincreasingdemandsforprecisio...

C#.NET serilog 详解(c# repository)

简介Serilog是...

Custom CNC Machining for Small Batch Production

Inmodernmanufacturing,producingsmallbatchesofcustomizedpartshasbecomeanincreasinglycommondemandacros...

Custom CNC Machining for Customized Solutions

Thedemandforcustomizedsolutionsinmanufacturinghasgrownsignificantly,drivenbydiverseindustryneedsandt...

Revolutionizing Manufacturing with Custom CNC Parts

Understandinghowmanufacturingisevolving,especiallythroughtheuseofcustomCNCparts,canseemcomplex.Thisa...

Breaking Boundaries with Custom CNC Parts

BreakingboundarieswithcustomCNCpartsinvolvesexploringhowadvancedmanufacturingtechniquesaretransformi...

Custom CNC Parts for Aerospace Industry

Intherealmofaerospacemanufacturing,precisionandreliabilityareparamount.Thecomponentsthatmakeupaircra...

Cnc machining for custom parts and components

UnderstandingCNCmachiningforcustompartsandcomponentsinvolvesexploringitsprocesses,advantages,andcomm...

洞察宇宙(十八):深入理解C语言内存管理

分享乐趣,传播快乐,增长见识,留下美好。亲爱的您,这里是LearingYard学苑!今天小编为大家带来“深入理解C语言内存管理”...

The Art of Crafting Custom CNC Parts

UnderstandingtheprocessofcreatingcustomCNCpartscanoftenbeconfusingforbeginnersandevensomeexperienced...

Tailored Custom CNC Solutions for Automotive

Intheautomotiveindustry,precisionandefficiencyarecrucialforproducinghigh-qualityvehiclecomponents.Ta...

关于WEB服务器(.NET)一些经验累积(一)

以前做过技术支持,把一些遇到的问题累积保存起来,现在发出了。1.问题:未能加载文件或程序集“System.EnterpriseServices.Wrapper.dll”或它的某一个依赖项。拒绝访问。解...

取消回复欢迎 发表评论: