Idea快捷键大全

在Idea官方文档说明的快捷键基础上,对不常用的进行了删减。将快捷键分类为官方强烈推荐的查找/替换、编辑、重构、导航等类别,且均为简单英文表述。

在官方文档说明的快捷键基础上自己把不常用的做了删减:

注:都是些简单的英文

分类如下:

 

     官方强烈推荐的:

Search everywhere

Double Shift

Show intention actions and quick-fxes

Alt + Enter

Generate code, new.....

Alt + Ins

Parameter info

Ctrl + P

Recent fles popup

Ctrl + E

Rename

Shift + F6

Find Action 

Ctrl + Shift + A

 

     查找/替换

Find

Ctrl + F

Find next/previous

F3 / Shift + F3

Replace

Ctrl + R

Replace in path

Ctrl + Shift + R

Select next occurrence 

Alt + J

Select all occurrences

Ctrl + Alt + Shift + J

     编辑

Complete statement 自动结束代码,行末自动添加分号 

Ctrl + Shift + Enter

Parameter info (within method call arguments)

Ctrl + P

Quick documentation lookup

Ctrl + Q

Brief Info

Ctrl + mouse

Show descriptions of error at caret  在光标所在的错误代码处显示错误信息 

Ctrl + F1

Generate code... 

Alt + Insert

Override methods 

Ctrl + O

Implement methods 

Ctrl + I

Surround with…

Ctrl + Alt + T

Comment/uncomment with line comment 

Ctrl + /

Comment/uncomment with block comment 

Ctrl + Shift + /

Extend selection 

Ctrl + W

Shrink selection 

Ctrl + Shift + W

Context info(show current class or method declaration when it is not visible)

Alt + Q

Show intention actions and quick-fxes 

Alt + Enter

Reformat code  格式化代码,可以对当前文件和整个包目录使用

Ctrl + Alt + L

Optimize imports  优化导入的类,可以对当前文件和整个包目录使用

Ctrl + Alt + O

Auto-indent line(s 光标所在行 或 选中部分进行自动代码缩进,有点类似格式化) 

Ctrl + Alt + I

Indent/unindent selected lines (手动缩进)

Tab / Shift + Tab

Paste from recent buffers...

Ctrl + Shift + V

Duplicate current line

Ctrl + D

Delete line at caret (删除光标所在行)

Ctrl + Y

Smart line join 自动将下一行合并到当前行末尾 

Ctrl + Shift + J

Smart line split 

Ctrl + Enter

Start new line

Shift + Enter

Toggle case for word at caret or selected block 

Ctrl + Shift + U

Select till code block end /start

Ctrl + Shift + ] / [

Delete to word end

Ctrl + Delete

Expand/collapse code block

Ctrl + NumPad+ / -

Collapse all

Ctrl + Shift + NumPad-

Expand all

Ctrl +  Shift + NumPad+

Close active editor tab

Ctrl + F4

 

 

 

     重构

Create a copy of the selected class ,file(s),or directory(es)

F5

Move the selected class ,method,package,static member  to another package or class

and correct all references 

F6

Rename

Shift + F6

Inline the 

Ctrl + Alt + N

Turn the selected code fragment into a method 提取代码片段

Ctrl + Alt + M

将表达式提取为变量

Ctrl + Alt + V

Extract Field

Ctrl + Alt + F

Extract Constant

Ctrl + Alt + C

Extract Parameter 将表达式提取为方法的参数

Ctrl + Alt + P

 

 

 

 

 

 

  

     

      导航

Go to class

Ctrl + N

Go to fle

Ctrl + Shift + N

Go to next/previous editor tab

Alt + Right/Left

Go to line

Ctrl + G

Recent fles popup

Ctrl + E

Navigate back/forward   (工具栏上的左右箭头)

Ctrl + Alt + Left/Right

Navigate to last edit locatio退回到上次修改的地方

Ctrl + Shift +Backspace

Select current fle or symbol in any view

Alt + F1

Go to declaration 进入光标所在的方法/变量的接口或是定义处,等效于 Ctrl + 左键单击

Ctrl + B , Ctrl + Click

Go to implementation(s) (调到当前选中的类、方法的实现)

Ctrl + Alt + B(Ctrl + Alt+点击)

Open quick defnition lookup  查看定义

Ctrl + Shift + I

Go to super-method/super-class

Ctrl + U

上/下一个方法

Alt + Up/Down

Move to code block

Ctrl + ]/[

File structure popup   弹出当前文件结构层,可以在弹出的层上直接输入,进行筛选

Ctrl + F12

Type hierarchy  显示当前类的层次结构

Ctrl + H

Method hierarchy  显示方法层次结构

Ctrl + Shift + H

Next/previous highlighted 

F2

Edit source

F4

Toggle bookmark

F11

Show bookmarks

Shift + F11

Toggle bookmark with mnemonic

Ctrl + F11

Go to numbered bookmark

Ctrl + #[0-9]

 

需求响应动态冰蓄冷系统与需求响应策略的优化研究(Matlab代码实现)内容概要:本文围绕需求响应动态冰蓄冷系统及其优化策略展开研究,结合Matlab代码实现,探讨了在电力需求侧管理背景下,冰蓄冷系统如何通过优化运行策略参与需求响应,以实现削峰填谷、降低用电成本和提升能源利用效率的目标。研究内容包括系统建模、负荷预测、优化算法设计(如智能优化算法)以及多场景仿真验证,重点分析不同需求响应机制下系统的经济性和运行特性,并通过Matlab编程实现模型求解与结果可视化,为实际工程应用提供理论支持和技术路径。; 适合人群:具备一定电力系统、能源工程或自动化背景的研究生、科研人员及从事综合能源系统优化工作的工程师;熟悉Matlab编程且对需求响应、储能优化等领域感兴趣的技术人员。; 使用场景及目标:①用于高校科研中关于冰蓄冷系统与需求响应协同优化的课题研究;②支撑企业开展楼宇能源管理系统、智慧园区调度平台的设计与仿真;③为政策制定者评估需求响应措施的有效性提供量化分析工具。; 阅读建议:建议读者结合文中Matlab代码逐段理解模型构建与算法实现过程,重点关注目标函数设定、约束条件处理及优化结果分析部分,同时可拓展应用其他智能算法进行对比实验,加深对系统优化机制的理解。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值