IntelliJ IDEA快捷键

IDEA版本基于(Ultimate 2019.3.1),快捷键采用系统默认配置,苹果系统选择的是Mac OS X

文本编辑

原文 描述 Mac Windows
Add or Remove Caret 多处输入(比如同时N行输入) ⌥⇧鼠标左
Add Rectangular Selection On Mouse Grag 多处修改(比如同时修改某个值) ⌥⇧⌘鼠标左
Backspace 退格
Choose Lookup Item ↩︎
Choose Lookup Item and Insert Dog ⌃.
Choose Lookup Item Replace
Move Caret to Code Block End 移动光标到代码块的最尾 ⌘]
Move Caret to Code Block End with Selection 移动光标到代码块的最尾并选中 ⇧⌘]
Move Caret to Code Block Start 移动光标到代码块的最头 ⌘[
Move Caret to Code Block Start with Selection 移动光标到代码块的最头并选中 ⇧⌘[
Complete Current Statment ⇧⌘↩︎
Create Rectangular Selection ⌥⇧鼠标右
Create Rectangular Selection on Mouse Drag ⌥鼠标左,鼠标右
Delete 删除 Fn⌫
Delete Line 删除整行 ⌘Y
Delete to Word End 从光标处删除到单词或字符串最后 ⌥⌦
Delete to Word Start 从光标处删除到单词或字符串开始 ⌥⌫
Down 光标向下一行
Down with Selection 光标向上一行并选中 ⇧↓
Duplicate Line or Selection 复制整行或复制选中的文字(取决是否选中了文本) ⌘D
Enter 回车 ↩︎
Escape esc
Focus Gutter(accessibility)
Join Lines 合并行(会去掉空行,制表符,无效空格等) ⌃⇧J
Left 左移动光标
Left with Selection 左移动光标并选中 ⇧←
Move Caret to Line End 移动光标到行尾 Fn→,⌘→
Move Caret to Line End with Selection 移动光标到行尾并选中 ⇧Fn→,⇧⌘→
Move Caret to Line Start 移动光标到行首 Fn←,⌘←
Move Caret to Line Start with Selection 移动光标到行首并选中 ⇧Fn←,⇧⌘←
Move Caret to Matching Brace ⇧⌘M
Move Caret to Page Bottom 移动光标到文件最下 Fn⌘↓
Move Caret to Page Bottom with Selection 移动光标到文件最下并选中 Fn⇧⌘↑
Move Caret to Page Top 移动光标到文件最上 Fn⌘↓
Move Caret to Page Top with Selection 移动光标到文件最上并选中 Fn⇧⌘↑
Move Caret to Next Word 移动光标到下一个单词 ⌥→
Move Caret to Next Word with Selection 移动光标到下一个单词并选中 ⌥⇧→
Page Down 光标移动到下一页 Fn↓
Page Down with Selection 光标移动到下一页并选中 ⇧Fn⌘
Page Up 光标移动到上一页 Fn↑
Page Up with Selection 光标移动到上一页并选中 ⇧Fn↑
Paste from X clipboard
Paste without Formatting
Move Caret to Previous Word 移动光标到上 一个单词 ⌥←
Move Caret to Previous Word with Selection 移动光标到上一个单词并选中 ⌥⇧←
Right 右移动光标
Right with Selection 左移动光标并选中 ⇧→
Scroll Down 滚动体下移 ⌘↓
Scroll Up 滚动体上移 ⌘↑
Extend Selection 扩大选中范围(多次按键逐步扩大) ⌘W
Show Gutter Icon Tooltip(accessibility) ⌥⇧6,T
Split Line 分割为两行 ⌘↩︎
Start New Line 新的空行 ⇧↩︎
Start New Line Before Current 光标上新的空行 ⌥⌘↩︎
Tab 制表符
Move Caret to Text End 移动光标到文件末尾 Fn⌘→
Move Caret to Text End with Selection 移动光标到文件末尾并选中 Fn⇧⌘→
Move Caret to Text Start 移动光标到文件开头 Fn⌘←
Move Caret to Text Start with Selection 移动光标到文件开头并选中 Fn⇧⌘←
Toggle Case 大小写转换 ⇧⌘U
Column Selection Mode ⇧⌘U
Shrink Selection ⇧⌘W
Unindent Line or Selection 取消缩进 ⇧⇥
Up 光标向上一行
Up with Selection 光标向上一行并选中 ⇧↑
Next Parameter
Next Template Variable or Finish In-Place Refactoring ⇥,↩︎
Prev Parameter ⇧⇥
Previous Template Variable ⇧⇥
Undo 撤销操作 ⌘Z
Redo 取消撤销 ⇧⌘Z
Cut 剪贴 ⌘X
Copy 拷贝 ⌘C
Copy Paths 复制文件的绝对路径 ⇧⌘C
Copy Preferences ⌥⇧⌘C
Paste 粘贴 ⌘V
Paste from History… 打开粘贴对话框,可以粘贴历史复制的内容 ⇧⌘V
paste without Fomatting ⌥⇧⌘V
Select All 选中所有 ⌘A
Comment with Line Comment 整行注释 ⌘/
Comment with Blokc Comment 多行注释 ⇧⌃/
Reformat Code 代码格式化 ⌥⌘L
Optimize Import 智能导入依赖 ⌥⌘O

##菜单 窗口

原文 描述 Mac Windows
Preferences… 打开首选项 ⌘,
Project Structure 打开项目结构窗口 ⌘;
Save All 保存所有 ⌘s
Synchronize 同步 ⌥⌘Y
Exit 退出 ⌘Q
Quick Defintion ⇧⌘I
Quick Documentation 快速打开文档 ⌃J,⌃鼠标右键
External Documentation ⇧F1
Parameter Info 显示参数信息 ⌘P
Type Info 显示类 ⌃⇧P
Context Info ⌃⇧Q
Error Description 代码有错误的地方,可以显示错误描述,等同于鼠标左键放上去的效果 ⌘F1
Show unique XPath ⌥⌘X,P
Jump to Source 打开并跳转到源代码文件 F4
Show Source ⌘↩︎
Recent Files 打开最近使用文件对话框 ⌘E
Toggle Change Only Files 在打开最近使用文件对话框后,筛选保留仅改变过的文件 ⌘E
Recent Locations ⇧⌘E
Recent Change 显示最近做出的改变列表 ⌥⇧C
Compare Files 选中某个文件后,可以与另外一个文件做对比 ⌘D
Quick Swich Scheme… 快速打开主题选择项 ⌃`
Toggle Full Screen Mode 全屏切换 ⌃⌘F
Show Reformat File Dialog 显示文件格式化弹出框 ⇧⌥⌘L
发布了4 篇原创文章 · 获赞 2 · 访问量 115
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章