zoukankan      html  css  js  c++  java
  • IDEA快捷键(完整中英文对照表)

    1. Editing
    2. Usage Search(使用搜索)
    3. Navigation(导航)
    4. Search/Replace(查找/替换)
    5. Live Templates(动态模板)
    6. Refactoring(重构)
    7. Debugging(调试)
    8. Compile and Run(编译/运行)
    9. VCS/Local History(版本控制/本地历史)
    10. General(代码生成)
    Editing 
    1 Ctrl + Space Basic code completion (the name of any class,
    method or variable)
    基本代码补全,输入字母按后列出匹配的词组  
    2 Ctrl + Shift + Space Smart code completion (filters the list of
    methods and variables by expected type)
    智能代码补全,列出与预期类型一致的方法或变量  
    3 Ctrl + Shift + Enter Complete statement 补全语句  
    4 Ctrl + P Parameter info (within method call arguments) 显示方法参数 666
    5 Ctrl + Q Quick documentation lookup 显示类、方法、注释文档和包 666
    6 Shift + F1 External Doc 显示外部文档  
    7 Ctrl +hover Brief Info 显示类、方法信息 666
    8 Ctrl + F1 Show descriptions of error or warning at caret 显示提示、警告、错误等信息_18  
    9 Alt + Insert Generate code... (Getters, Setters,
    Constructors, hashCode/equals, toString)
    生成代码,生成 Getter、Setter、构造器等  
    10 Ctrl + O Override methods 重写父类方法  
    11 Ctrl + I Implement methods 实现接口方法  
    12 Ctrl + Alt + T Surround with…(if..else,try..catch, for,
    synchronized, etc.)
    使用(if…else, try…catch, for, synchronized 等)包围选中语句  
    13 Ctrl + / Comment/uncomment with line comment 使用“//”注释或取消注释  
    14 Ctrl + Shift + / Comment/uncomment with block comment 使用“/ ** ** /”注释或取消注释  
    15 Ctrl + W Select successively increasing code blocks 选择代码块,连续按会增加选择外层的代码块  
    16 Ctrl + Shift + W Decrease current selection to previous state 与“Ctrl+W”相反,减少选择代码块  
    17 Alt + Q Context info 上下文信息 666
    18 Alt + Enter Show intention actions and quick-fixes 显示快速修复列表_18  
    19 Ctrl + Alt + L Reformat code 格式化代码  
    20 Ctrl + Alt + O Optimize imports 优化 Imports  
    21 Ctrl + Alt + I Auto-indent line(s) 自动优化代码缩进  
    22 Tab / Shift + Tab Indent/unindent selected lines 缩进代码/取消缩进代码  
    23 Ctrl+X Cut current line or selected block to clipboard 剪切代码,未选择代码时剪切当前行  
    24 Ctrl+C Copy current line or selected block to clipboard 复制代码,未选择代码时复制当前行  
    25 Ctrl+V Paste from clipboard 粘贴代码  
    26 Ctrl+Shift + V Paste from recent buffers... 粘贴最近复制的内容  
    27 Ctrl+D Duplicate current line or selected block 重复代码,未选择代码时重复当前行  
    28 Ctrl+Y Delete line at caret 删除行,未选择时删除当前行  
    29 Ctrl+Shift + J Smart line join 合并多行为一行  
    30 Ctrl+Enter Smart line split 分割一行为多行  
    31 Shift + Enter Start new line 使光标所在位置的下一行为新行  
    32 Ctrl + Shift + U Toggle case for word at caret or selected block 对选中内容进行大小写切换  
    33 Ctrl + Shift + ]/[ Select till code block end/start 选中到代码块的开始/结束 777
    34 Ctrl + Delete/Backspace Delete to word end/start 删除从光标所在位置到单词结束/起始位置的字符  
    35 Ctrl + NumPad+/- Expand/collapse code block 展开或收起代码块  
    36 Ctrl + Shift+NumPad+ Expand all 展开所有代码块_37  
    37 Ctrl + Shift+NumPad- Collapse all 收起所有代码块_37  
    38 Ctrl + F4 Close active editor tab 关闭当前编辑页  
    Usage Search(使用搜索)
    1 Alt + F7/Ctrl + F7 Find usages/Find usages in file 查找被使用处/查找当前文件中的使用处 0
    2 Ctrl + Shift + F7 Highlight usages in file 高亮当前文件中的使用处  
    3 Ctrl + Alt + F7 Show usages 列出使用者 0
    Navigation(导航)
    1 Ctrl + N Go to class 查找类  
    2 Ctrl + Shift + N Go to file 查找文件  
    3 Ctrl + Alt + Shift + N Go to symbol Go to symbol  
    4 Alt + Right/Left Go to next / previous editor tab 左右切换 Tab  
    5 F12 Go back to previous tool window 回到上一个打开的窗口  
    6 Esc Go to editor (from tool window) 焦点回到编辑器  
    7 Shift + Esc Hide active or last active window 隐藏打开的视图  
    8 Ctrl+Shift+F4 Close active run / messages / find / ... tab 关闭当前 Tab  
    9 Ctrl+G Go to line 跳到指定行  
    10 Ctrl+E Recent files popup 显示最近打开的文件  
    11 Ctrl+Alt + Left/Right Navigate back / forward 跳到光标的/一个位置  
    12 Ctrl+Shift+Backspace Navigate to last edit location 跳到上一个编辑处  
    13 Alt + F1 Select current file or symbol in any view 选择当前文件显示在不同的视图中  
    14 Ctrl + B , Ctrl + Click Go to declaration 跳到声明处_17  
    15 Ctrl + Alt + B Go to implementation(s) 跳到实现类/方法_18  
    16 Ctrl + Shift + I Open quick definition lookup 显示类/变量/方法定义  
    17 Ctrl + Shift + B Go to type declaration 跳到类型定义处_17  
    18 Ctrl + U Go to super-method / super-class 跳到父类/方法_18  
    19 Alt + Up/Down Go to previous / next method 光标移动到/一个方法  
    20 Ctrl + ]/[ Move to code block end/start 光标移动到代码块的起始/结束位置 777 
    21 Ctrl + F12 File structure popup 显示文件结构  
    22 Ctrl + H Type hierarchy 显示类层级  
    23 Ctrl + Shift + H Method hierarchy 显示方法层级  
    24 Ctrl + Alt + H Call hierarchy 显示类/方法调用层级  
    25 F2 / Shift + F2 Next/previous highlighted error 光标移动到/一个错误  
    26 F4 / Ctrl + Enter Edit source / View source 编辑源码,光标移到编辑器内/查看源码,光标没移到编辑器内  
    27 Alt + Home Show navigation bar 显示导航栏  
    28 F11 Toggle bookmark 当前行设置书签  
    29 Ctrl + F11 Toggle bookmark with mnemonic 设置书签号[0-9]  
    30 Ctrl + #[0-9] Go to numbered bookmark 跳到书签号[0-9]所在位置  
    31 Shift + F11 Show bookmarks 显示所有书签  
    Search/Replace(查找/替换)
    1 Double Shift Search everywhere 查找所有位置  
    2 Ctrl + F Find 查找  
    3 F3 / Shift + F3 Find next / Find previous 查找/一个  
    4 Ctrl + R Replace 替换  
    5 Ctrl + Shift + F Find in path 目录内查找  
    6 Ctrl + Shift + R Replace in path 目录内替换  
    Live Templates(动态模板)
    1 Ctrl + Alt + J Surround with Live Template 使用 Live Template 包围选中代码  
    2 Ctrl + J Insert Live Template 快速插入 Live Template  
    3 iter Iteration according to Java SDK 1.5 style 快速生成 for…in 语句  
    4 inst Check object type with instanceof and
    downcast it
    快速生成”if instanceof ”语句  
    5 itco Iterate elements of java.util.Collection 快速生成 iterator 的 for 循环  
    6 itit Iterate elements of java.util.Iterator 快速生成 iterator 的 while 循环  
    7 itli Iterate elements of java.util.List 快速生成 list 的 for(i)循环  
    8 psf public static final 快速生成“public static final” 语句  
    9 thr throw new 快速生成“throw new” 语句  
    Refactoring(重构)    
    1 F5 Copy 复制类  
    2 F6 Move 移动类  
    3 Alt + Delete Safe Delete 安全删除,删除前会提示调用处  
    4 Shift + F6 Rename 重命名  
    5 Ctrl + F6 Change Signature 重构方法参数、Exception 等  
    6 Ctrl + Alt + N Inline 合并多行为一行  
    7 Ctrl + Alt + M Extract Method 提取为新方法  
    8 Ctrl + Alt + V Extract Variable 提取为新变量  
    9 Ctrl + Alt + F Extract Field 提取为对象新属性  
    10 Ctrl + Alt + C Extract Constant 提取为新静态常量  
    11 Ctrl + Alt + P Extract Parameter 提取参数  
    Debugging(调试)
    1 F8/F7 Step over/Step into 单步调试,不进入函数内部/进入函数内部  
    2 Shift + F7 / Shift + F8 Smart step into/Step out 选择要进入的函数/跳出函数  
    3 Alt + F9 Run to cursor 运行到断点  
    4 Alt + F8 Evaluate expression 执行表达式查看结果  
    5 F9 Resume program 继续执行,进入下一个断点或执行完程序  
    6 Ctrl + F8 Toggle breakpoint 设置/取消当前行断点  
    7 Ctrl + Shift + F8 View breakpoints 查看断点  
    Compile and Run(编译/运行)
    1 Ctrl + F9 Make project (compile modified and dependent) Make 模块、项目  
    2 Ctrl + Shift + F9 Compile selected file, package or module 编译选中的文件、模块、项目  
    3 Alt + Shift + F10/F9 Select configuration and run/and debug 选择配置后运行/调试代码  
    4 Shift + F10/F9 Run/Debug 运行/调试代码  
    5 Ctrl + Shift + F10 Run context configuration from editor 运行代码  
    VCS/Local History(版本控制/本地历史)
    1 Ctrl + K / Ctrl + T Commit project to VCS/Update from VCS 提交改动到 VCS/从 VCS 上更新  
    2 Alt + Shift + C View recent changes 查看最近的改动记录  
    3 Alt + BackQuote (`) VCS Operations Popup 显示 VCS 操作列表  
    General(代码生成)    
     1 Alt + #[0-9]  Open corresponding tool window 

    0:聚焦到 Messages 窗口

    1:聚焦到 Project 窗口

    2:聚焦到 Favorites 窗口

    3:聚焦到 Find 窗口

    4:聚焦到 Run 窗口

    5:聚焦到 Debug 窗口

    6:聚焦到 TODO 窗口

    7:聚焦到 Structure 窗口

    8:聚焦到 Services 窗口

    9:聚焦到 Git 窗口

     
     2 Ctrl + S Save all 保存文件   
     3 Ctrl + Alt + Y Synchronize 与本地文件同步  
     4 Ctrl + Shift + F12 Toggle maximizing editor 切换最大化编辑  
     5 Alt + Shift + F Add to Favorites 添加到收藏夹  
     6 Alt + Shift + I Inspect current file with current profile 检查当前文件,包括 Javadoc 问题、可能存在的 bug 等  
     7 Ctrl + BackQuote (`) Quick switch current scheme 模式切换,包括文本外观、快捷键、编辑器外观、代码样式。  
     8 Ctrl + Alt + S Open Settings dialog 打开 settings 窗口  
     9 Ctrl + Alt + Shift + S Open Project Structure dialog 打开项目结构对话框  
    10 Ctrl + Shift + A Find Action Find Action  
    11  Ctrl + Tab Switch between tabs and tool window 选项卡和工具窗口之间切换  
  • 相关阅读:
    086 01 Android 零基础入门 02 Java面向对象 01 Java面向对象基础 03 面向对象基础总结 01 面向对象基础(类和对象)总结
    085 01 Android 零基础入门 02 Java面向对象 01 Java面向对象基础 02 构造方法介绍 04 构造方法调用
    jQuery UI组件库Kendo UI使用技巧小分享
    Kendo UI ListView模板功能,让Web开发更轻松
    UI组件套包DevExpress ASP.NET Core v20.2新版亮点:全新的查询生成器
    Devexpress WinForms最新版开发.NET环境配置Visual Studo和SQL Server对应版本
    全新的桌面应用数据可视化呈现方式,Sankey Diagram控件你了解多少?
    java中的递归方法
    连接数据库查询 将查询结果写入exce文件中
    java连接mysql数据查询数据
  • 原文地址:https://www.cnblogs.com/beyondchina/p/14069159.html
Copyright © 2011-2022 走看看