IntelliJ IDEA快捷键总结
原文: IntelliJ IDEA快捷键
下面只列出Windows系统下的快捷键,Mac下的快捷键参考上面的链接。
Remember these Shortcuts
| 功能 | 快捷键 |
|---|---|
| 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 |
General
| 功能 | 快捷键 |
|---|---|
| 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 |
Debugging
| 功能 | 快捷键 |
|---|---|
| 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 |
Search / Replace
| 功能 | 快捷键 |
|---|---|
| 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 |
Editing
| 功能 | 快捷键 |
|---|---|
| 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 |
| 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 |
Refactoring
| 功能 | 快捷键 |
|---|---|
| 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 |
Navigation
| 功能 | 快捷键 |
|---|---|
| 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 |
Compile and Run
| 功能 | 快捷键 |
|---|---|
| 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 |
Usage Search
| 功能 | 快捷键 |
|---|---|
| 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
| 功能 | 快捷键 |
|---|---|
| Commit project to VCS | Ctrl + K |
| Update project from VCS | Ctrl + T |
| Push commits | Ctrl + Shift + K |
| ‘VCS’ quick popup | Alt + BackQuote (`) |
Live Templates
| 功能 | 快捷键 |
|---|---|
| Surround with Live Template | Ctrl + Alt + J |
| Insert Live Template | Ctrl + J |
IntelliJ IDEA快捷键总结的更多相关文章
- Intellij IDEA 快捷键整理
CSDN 2016博客之星评选结果公布 [系列直播]算法与游戏实战技术 "我的2016"主题征文活动 Intellij IDEA 快捷键整理(TonyCody) ...
- IntelliJ IDEA 快捷键大全
IntelliJ IDEA 快捷键大全 (2012-03-27 20:33:44) 转载▼ 标签: ide intellij快捷键 杂谈 分类: IDE工具 最近刚接触IntelliJ这个工具,用了几 ...
- 十大Intellij IDEA快捷键
转载:http://blog.csdn.net/dc_726/article/details/42784275 Intellij IDEA中有很多快捷键让人爱不释手,stackoverflow上也有一 ...
- 十大Intellij IDEA快捷键(转)(2015年06月15日)
注:本文转自:http://blog.csdn.net/dc_726/article/details/42784275 Intellij IDEA中有很多快捷键让人爱不释手,stackoverflow ...
- Eclipse和intellij idea 快捷键对比
Eclipse和intellij idea 快捷键对比
- IntelliJ常用快捷键及配置
IntelliJ常用快捷键及配置 目录: 1.常用快捷键: 2.常用配置: 1.常用快捷键: (1)psvm:创建main函数 (2)fori:for (int i = 0; i < ; i++ ...
- Intellij IDEA快捷键大全汇总(2019更新)
Intellij IDEA快捷键大全汇总(2019) Ctrl+Shift + Enter,语句完成“!”,否定完成,输入表达式时按 “!”键 Alt+回车 导入包,自动修正 Ctrl+N 查找类 ...
- Intellij IDEA快捷键与使用技巧一览表
Intellij IDEA快捷键 Ctrl+Shift + Enter,语句完成 "!",否定完成,输入表达式时按 "!"键 Ctrl+E,最近的文件 Ctrl ...
- 问题记录 | VScode中使用IntelliJ的快捷键
问题记录 | VScode中使用IntelliJ的快捷键 主要想用ctrl+alt+l格式化Python代码 安装VScode的插件:IntelliJ IDEA Keybindings 安装方法: I ...
随机推荐
- Iar8.1安装包破解
Iar8.1安装包链接链接:https://pan.baidu.com/s/1F6sxEcatk3_YPq47lvc8Mw 密码:mnlz 破解链接 https://www.cnblogs.com/ ...
- Django之事务
Django之事务 事务就是将一组操作捆绑在一起,只有当这一组操作全部都成功以后这个事务才算成功;当这组操作中有任何一个没有操作成功,则这个操作就会回滚,回到操作之前的状态. 其中牵扯到向数据库中写数 ...
- 【学习总结】C-翁恺老师-入门-总
2019-1-2 翁恺老师C入门视频-启程 代码详见GitHub: 目录 第0周:程序设计与C语言 第1周:计算 第2周:判断 第3周:循环 第4周:循环控制 第5周:数据类型 第6周:函数 第7周: ...
- 二、npm scripts
一.执行原理 安装npm 包,会将其package.json bin 字段添加到node_modules bin 里面,创建对应的.cmd文件,因此: 例如: "scripts": ...
- laravel中migration 数据迁移
简介 数据库迁移就像是数据库的版本控制,可以让你的团队轻松修改并共享应用程序的数据库结构.迁移通常与 Laravel 的数据库结构生成器配合使用,让你轻松地构建数据库结构.如果你曾经试过让同事手动在数 ...
- Java遍历HashMap并修改(remove)(转载)
遍历HashMap的方法有多种,比如通过获取map的keySet, entrySet, iterator之后,都可以实现遍历,然而如果在遍历过程中对map进行读取之外的操作则需要注意使用的遍历方式和操 ...
- [转帖]分布式Unique ID的生成方法一览
分布式Unique ID的生成方法一览 http://www.importnew.com/22211.html 分布式的Unique ID的用途如此广泛,从业务对象Id到日志的TraceId,本文总结 ...
- day 7-11 初识MySQL数据库及安装密码设置破解
一. 什么是数据库 之前所学,数据要永久保存,比如用户注册的用户信息,都是保存于文件中,而文件只能存在于某一台机器上. 如果我们不考虑从文件中读取数据的效率问题,并且假设我们的程序所有的组件都运行在一 ...
- Android——MaterialDesign之三NavigationView
NavigationView的使用 这里我们来讲讲在Android5.0之后推出的NavigationView的具体使用方式.和普通的侧拉菜单制作方式一样,首先所有的东西还是都放在一个DrawerLa ...
- python数据结构与算法第四天【代码执行时间测试模块】
#!/usr/bin/env python # _*_ coding:UTF-8 _*_ from timeit import Timer def foo(): ''' 使用append方式向列表添加 ...