Editing/编辑

Ctrl+Space

Basiccodecompletion(thenameofanyclass,

基本代码补全提示

methodorvariable)

Ctrl+Shift+Space

Smartcodecompletion(filtersthelistofmethods

智能代码补全加模板提示

andvariablesbyexpectedtype)

Ctrl+Shift+Enter

Completestatement

Ctrl+P

Parameterinfo(withinmethodcallarguments)

查看参数信息

Ctrl+Q

Quickdocumentationlookup

快速查看文档

Shift+F1

ExternalDoc

Ctrl+ mouse over code

BriefInfo

查看摘要信息

Ctrl+F1

Showdescriptionsoferrororwarningatcaret

Alt+Insert

Generatecode...(Getters,Setters,Constructors,

快速生成代码

hashCode/equals,toString)

Ctrl+O

Overridemethods

重写/覆盖父类的方法

Ctrl+I

Implementmethods

实现接口中的方法

Ctrl+Alt+T

Surround with… (if..else, try..catch,for,

快速添加代码块

synchronized,etc.)

Ctrl+/

Comment/uncommentwithlinecomment

添加/移除行注释

Ctrl+Shift+/

Comment/uncommentwithblockcomment

添加/移除块注释

Ctrl+W

Selectsuccessivelyincreasingcodeblocks

选择联续的代码块,比如一个方法内的所有代码

Ctrl+Shift+W

Decreasecurrentselectiontopreviousstate

Alt+Q

Contextinfo

Alt+Enter

Showintentionactionsandquick-fixes

快速提示/代码修复

Ctrl+Alt+L

Reformatcode

格式化代码

Ctrl+Alt+O

Optimizeimports

组织自动导入

Ctrl+Alt+I

Auto-indentline(s)

自动缩进

Tab/Shift+Tab

Indent/unindentselectedlines

手动缩进/恢复缩进

Ctrl + X or Shift + Delete

Cutcurrentlineorselectedblocktoclipboard

剪切当前行

Ctrl + C or Ctrl + Insert

Copycurrentlineorselectedblocktoclipboard

复制当前行到粘帖板

Ctrl + V or Shift + Insert

Pastefromclipboard

从剪切板复制内容

Ctrl + Shift+V

Pastefromrecentbuffers...

从缓冲区复制内容

Ctrl + D

Duplicatecurrentlineorselectedblock

复制当前行或选择的块

Ctrl + Y

Deletelineatcaret

删除一行

Ctrl + Shift+J

Smartlinejoin

智能合并行

Ctrl + Enter

Smartlinesplit

智能拆分行(格式化)

Shift+Enter

Startnewline

换行

Ctrl+Shift+U

Togglecaseforwordatcaretorselectedblock

快速拼写较正

Ctrl+Shift+]/[

Selecttillcodeblockend/start

选择当到到最近的大括号中的代码块

Ctrl+Delete

Deletetowordend

从当前删除到单词结束位置

Ctrl+Backspace

Deletetowordstart

从当前删除到单词的开始位置

Ctrl+NumPad+/-

Expand/collapsecodeblock

展开/折叠代码块

Ctrl+Shift + NumPad+

Expandall

展开所有代码

Ctrl+Shift + NumPad-

Collapseall

折叠所有代码

Ctrl+F4

Closeactiveeditortab

关闭当前编辑的标签页

Search/Replace寻找/替换

DoubleShift

Searcheverywhere

查找所有内容

Ctrl+F

Find

查找

F3

Findnext

查找下一个

Shift+F3

Findprevious

查找上一个

Ctrl+R

Replace

替换

Ctrl+Shift+F

Findinpath

路径查找

Ctrl+Shift+R

Replaceinpath

路径替换

Ctrl+Shift+S

Searchstructurally(UltimateEditiononly)

在(项目结构)配置中查找

Ctrl+Shift+M

Replacestructurally(UltimateEditiononly)

在配置中查找替换

UsageSearch查看引用

Alt+F7/Ctrl+F7

Findusages/Findusagesinfile

查看引用

Ctrl+Shift+F7

Highlightusagesinfile

在文件中高亮显示引用的内容

Ctrl+Alt+F7

Showusages

查看引用位置

CompileandRun//编译运行

Ctrl+F9

Makeproject(compilemodifedanddependent)

构建/修正依赖

Ctrl+Shift+F9

Compileselectedfile,packageormodule

编译所选的文件、包或模块

Alt+Shift+F10

Selectconfigurationandrun

选择并运行

Alt+Shift+F9

Selectconfigurationanddebug

选择并调试

Shift+F10

Run

运行

Shift+F9

Debug

调试

Ctrl+Shift+F10

Runcontextconfigurationfromeditor

Debugging/调试

F8

Stepover

跳到下一步

F7

Stepinto

进入到方法内部

Shift+F7

Smartstepinto

智能单步跟进

Shift+F8

Stepout

跳过当前断点

Alt+F9

Runtocursor

运行到光标处

Alt+F8

Evaluateexpression

选中查看值

F9

Resumeprogram

重启程序

Ctrl+F8

Togglebreakpoint

断点开关

Ctrl+Shift+F8

Viewbreakpoints

查看断点

Navigation/导航

Ctrl+N

Gotoclass

跳转到指定类

Ctrl+Shift+N

Gotofile

跳转到指定文件

Ctrl+Alt+Shift+N

Gotosymbol

Alt+Right/Left

Gotonext/previouseditortab

切换到下一个/上一个编辑标签窗口

F12

Gobacktoprevioustoolwindow

切换到最近使用的工具窗口

Esc

Gotoeditor(fromtoolwindow)

从工具窗口跳转到编辑窗口

Shift+Esc

Hideactiveorlastactivewindow

隐藏最后活动的窗口

Ctrl + Shift + F4

Closeactiverun/messages/find/...tab

关闭活动的运行\消息\查找等窗口

Ctrl + G

Gotoline

跳转到指定行

Ctrl + E

Recentfilespopup

查看最近操作的文件

Ctrl + Alt+Left/Right

Navigateback/forward

向左/右切换标签页

Ctrl + Shift + Backspace

Navigatetolasteditlocation

返回到最近编辑的位置

Alt+F1

Selectcurrentfileorsymbolinanyview

以不同的视图查看选中的文件(可打开所在文件夹)

Ctrl+BorCtrl+Click

Gotodeclaration

跳转到声明处

Ctrl+Alt+B

Gotoimplementation(s)

跳转到实现处

Ctrl+Shift+I

Openquickdefinitionlookup

声明信息快速查询

Ctrl+Shift+B

Gototypedeclaration

跳转到声明的属性类

Ctrl+U

Gotosuper-method/super-class

跳转到父类或方法

Alt+Up/Down

Gotoprevious/nextmethod

查看上一个\下一个方法

Ctrl+]/[

Movetocodeblockend/start

移动到代码块的结束/开始

Ctrl+F12

Filestructurepopup

查看文件结构

Ctrl+H

Typehierarchy

查看文件继承关系

Ctrl+Shift+H

Methodhierarchy

查看方法继承关系

Ctrl+Alt+H

Callhierarchy

查看调用关系

F2/Shift+F2

Next/previoushighlightederror

对上一个\下一个(未引用代码)错误高亮显示

F4/Ctrl+Enter

Editsource/Viewsource

查看源码

Alt+Home

Shownavigationbar

显示导航条

F11

Togglebookmark

书签开关

Ctrl+F11

Togglebookmarkwithmnemonic

带编号的书签开关

Ctrl+#[0-9]

Gotonumberedbookmark

跳转到指定书签

Shift+F11

Showbookmarks

查看所有书签

Refactoring//重构

F5

Copy

复制

F6

Move

移动

Alt+Delete

SafeDelete

安全删除

Shift+F6

Rename

重命名

Ctrl+F6

ChangeSignature

更改签名

Ctrl+Alt+N

Inline

Ctrl+Alt+M

ExtractMethod

抽取方法

Ctrl+Alt+V

ExtractVariable

抽取变量

Ctrl+Alt+F

ExtractField

抽取字段

Ctrl+Alt+C

ExtractConstant

抽取常量

Ctrl+Alt+P

ExtractParameter

抽取参数

VCS/LocalHistory//版本控制

Ctrl+K

CommitprojecttoVCS

提交项目到版本控制器

Ctrl+T

UpdateprojectfromVCS

更新项目

Alt+Shift+C

Viewrecentchanges

查看修改记录

Alt+BackQuote(`)

‘VCS’quickpopup

快速选择版本控制器

LiveTemplates//活动模板

Ctrl+Alt+J

SurroundwithLiveTemplate

Ctrl+J

InsertLiveTemplate

添加模板

iter

IterationaccordingtoJavaSDK1.5style

inst

Check object typewithinstanceofanddowncastit

itco

Iterateelementsofjava.util.Collection

itit

Iterateelementsofjava.util.Iterator

itli

Iterateelementsofjava.util.List

psf

publicstaticfinal

thr

thrownew

General//常用

Alt+#[0-9]

Opencorrespondingtoolwindow

打开常用工具

Ctrl+S

Saveall

保存代码

Ctrl+Alt+Y

Synchronize

同步代码

Ctrl+Shift+F12

Togglemaximizingeditor

最大化\最小化编辑区

Alt+Shift+F

AddtoFavorites

添加到搜藏夹

Alt+Shift+I

Inspectcurrentfilewithcurrentprofile

在当前项目中检查当前文件

Ctrl+BackQuote(`)

Quickswitchcurrentscheme

Ctrl+Alt+S

OpenSettingsdialog

打开设置对话框

Ctrl+Alt+Shift+S

OpenProjectStructuredialog

打开项目结构对话框

Ctrl+Shift+A

FindAction

查找功能

Ctrl+Tab

Switchbetweentabsandtoolwindow

切换编辑窗口标签页

更多相关文章

  1. 没有一行代码,「2020 新冠肺炎记忆」这个项目却登上了 GitHub 中
  2. 一款常用的 Squid 日志分析工具
  3. GitHub 标星 8K+!一款开源替代 ls 的工具你值得拥有!
  4. RHEL 6 下 DHCP+TFTP+FTP+PXE+Kickstart 实现无人值守安装
  5. Linux 环境下实战 Rsync 备份工具及配置 rsync+inotify 实时同步
  6. New Android(安卓)App Project: R cannot be resolved to a vari
  7. android studio 3.0.1依赖butterknife报错问题解决办法以及andro
  8. Android实现删除apk弹出网页
  9. 【Android】从无到有:手把手一步步教你自定义RecyclerView手势监

随机推荐

  1. 最近在找织梦dede转移替代方案,分享一下小
  2. css基础
  3. HTML基础
  4. php生成PDF文件的方法
  5. PHP&&微信与支付宝支付一站式讲解与实战
  6. 实用攻略:云服务器如何选购?要考虑哪些因素
  7. 你还搞不明白XSS攻击与如何防御 ?
  8. 如何获取thinkphp的版本号
  9. Elasticsearch索引管理工具Curator介绍
  10. PHP基础:引入命名空间、文件上传和分页