Repository files navigation
默认快捷键(Windows)
一、Remember these Shortcut
说明
Explanation
快捷键
自动补全代码
Smart code completion
Ctrl + Shift + Space
全局搜索
Search everywhere
Double Shift
显示意图动作和快速修复
Show intention actions and quick-fixes
Alt + Enter
生成代码
Generate code
Alt + Ins
参数信息
Parameter info
Ctrl + P
扩展选择
Extend selection
Ctrl + W
缩小选择
Shrink selection
Ctrl + Shift + W
最近更改的文件
Recent files popup
Ctrl + E
重命名
Rename
Shift + F6
说明
Explanation
快捷键
打开相应的工具窗口
Open corresponding tool window
Alt + #[0-9]
保存所有
Save all
Ctrl + S
同步
Synchronize
Ctrl + Alt + Y
切换最大化编辑
Toggle maximizing editor
Ctrl + Shift + F12
检查当前文件的当前配置文件
Inspect current file with current profile
Alt + Shift + I
快速切换当前方案
Quick switch current scheme
Ctrl + BackQuote (`)
打开设置对话框
Open Settings dialog
Ctrl + Alt + S
打开项目结构对话框
Open Project Structure dialog
Ctrl + Alt + Shift + S
查询动作
Find Action
Ctrl + Shift + A
说明
Explanation
快捷键
步过/步入
Step over / into
F8 / F7
智能步入/步过
Smart step into / Step out
Shift + F7 / Shift + F8
运行到光标
Run to cursor
Alt + F9
评价表达
Evaluate expression
Alt + F8
恢复程序
Resume program
F9
切换断点
Toggle breakpoint
Ctrl + F8
查看断点
View breakpoints
Ctrl + Shift + F8
说明
Explanation
快捷键
全局搜索
Search everywhere
Double Shift
查找
Find
Ctrl + F
查找下一个/上一个
Find next / previous
F3 / Shift + F3
替换
Replace
Ctrl + R
在路径中查找
Find in path
Ctrl + Shift + F
在路径中替换
Replace in path
Ctrl + Shift + R
选择下一个事件
Select next occurrence
Alt + J
选择所有的事件
Select all occurrences
Ctrl + Alt + Shift + J
取消发生
Unselect occurrence
Alt + Shift + J
说明
Explanation
快捷键
代码提示
Basic code completion
Ctrl+Space
智能代码提示
Smart code completion
Ctrl + Shift + Space
完成语句
Complete statement
Ctrl + Shift + Enter
参数信息(方法内调用参数)
Parameter info (within method call arguments)
Ctrl + P
快速查找文件
Quick documentation lookup
Ctrl + Q
外部文件
External Doc
Shift + F1
基本信息
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
Alt + Q
显示意图动作和快速修复
Show intention actions and quick-fixes
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
将当前行剪切到剪贴板
Cut current line to clipboard
Ctrl+ X, Shift+ Delete
将当前行复制到剪贴板
Copy current line to clipboard
Ctrl + C , Ctrl + Insert
从剪切板粘贴
Paste from clipboard
Ctrl + V , Shift + Insert
从最近缓冲区粘贴
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
删除到单词开始
Delete to word start
Ctrl + Backspace
展开/折叠代码块
Expand / collapse code block
Ctrl + NumPad+ / -
展开全部
Expand all
Ctrl+ Shift+ NumPad+
全部折叠
Collapse all
Ctrl+ Shift+ NumPad-
关闭活动编辑器标签
Close active editor tab
Ctrl + F4
说明
Explanation
快捷键
复制
Copy
F5
移动
Move
F6
安全删除
Safe Delete
Alt + Delete
重命名
Rename
Shift + F6
此重构
Refactor this
Ctrl + Alt + Shift + T
更改签名
Change Signature
Ctrl + F6
内联
Inline
Ctrl + Alt + N
提取方法
Extract Method
Ctrl + Alt + M
提取变量
Extract Variable
Ctrl + Alt + V
提取字段
Extract Field
Ctrl + Alt + F
提取常数
Extract Constant
Ctrl + Alt + C
提取参数
Extract Parameter
Ctrl + Alt + P
说明
Explanation
快捷键
快速打开类
Go to class
Ctrl+N
转到文件
Go to file
Ctrl + Shift + N
转到标志
Go to symbol
Ctrl + Alt + Shift + N
转到下一个/上一个编辑器选项卡
Go to next / previous editor tab
Alt + Right/Left
回到以前的工具窗口
Go back to previous tool window
F12
转到编辑器(从工具窗口)
Go to editor (from tool window)
Esc
隐藏活动窗口或最后活动窗口
Hide active or last active window
Shift + Esc
转到行
Go to line
Ctrl + G
弹出最近文件
Recent files popup
Ctrl + E
向后/向前导航
Navigate back / forward
Ctrl+ Alt + Left/Right
导航到最后编辑位置
Navigate to last edit location
Ctrl+ Shift+ Backspace
在任何视图中选择当前文件或符号
Select current file or symbol in any view
Alt + F1
转到声明
Go to declaration
Ctrl + B , Ctrl + Click
转到实现
Go to implementation(s)
Ctrl + Alt + B
打开快速定义查找
Open quick definition lookup
Ctrl + Shift + I
转到类型声明
Go to type declaration
Ctrl + Shift + B
转到父方法/父类
Go to super-method / super-class
Ctrl + U
转到上一个/下一个方法
Go to previous / next method
Alt + Up/Down
移动到代码块结束/开始
Move to code block end / start
Ctrl + ]/[
弹出文件结构
File structure popup
Ctrl + F12
类型层次结构
Type hierarchy
Ctrl + H
方法层次结构
Method hierarchy
Ctrl + Shift + H
调用层次结构
Call hierarchy
Ctrl + Alt + H
下一个/上一个明显错误
Next / previous highlighted error
F2 / Shift + F2
编辑源/视图源
Edit source / View source
F4 / Ctrl + Enter
显示导航栏
Show navigation bar
Alt + Home
切换书签
Toggle bookmark
F11
切换书签记忆
Toggle bookmark with mnemonic
Ctrl + F11
转到编号书签
Go to numbered bookmark
Ctrl + #[0-9]
显示书签
Show bookmarks
Shift + F11
说明
Explanation
快捷键
生成项目
Make project
Ctrl+F9
编译选定的文件、包或模块
Compile selected file, package or module
Ctrl + Shift + F9
选择配置并运行/调试
Select configuration and run / debug
Alt + Shift + F10/F9
运行/调试
Run / Debug
Shift + F10 / F9
从编辑器运行上下文配置
Run context configuration from editor
Ctrl + Shift + F10
说明
Explanation
快捷键
查找用法/查找文件中的用法
Find usages / Find usages in file
Alt + F7 / Ctrl + F7
文件高亮显示
Highlight usages in file
Ctrl + Shift + F7
显示用法
Show usages
Ctrl + Alt + F7
十、VCS/Local History VCS/本地历史
说明
Explanation
快捷键
提交项目到VCS
Commit project to VCS
Ctrl + K
从VCS更新项目
Update project from VCS
Ctrl + T
推送提交
Push commits
Ctrl + Shift + K
快速弹出VCS
‘VCS’ quick popup
Alt + BackQuote (`)
说明
Explanation
快捷键
用动态模板环绕
Surround with Live Template
Ctrl + Alt + J
插入动态模板(自动代码)
Insert Live Template
Ctrl + J
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.