idea中常用的快捷键

版权声明:@徐小冠 https://blog.csdn.net/weixin_42114097/article/details/81950855

  上面的是中文本,  ----->下面有英文版

百度翻译字数限制为5000字, "Ctr"及其后面没有被翻译!

jetbrains.com /想法/主意@ intellijidea blog.jetbrains.com

导航

按Ctrl + N去舱

按Ctrl + Shift + N)的文件

按Ctrl + Alt + Shift + N去符号

Alt +左/右/下以前去表编辑器

Q12回到以前的工具窗口

去(从ESC编辑工具窗口)

Shift + ESC主动或主动负载窗口隐藏

 shift ctrl + + f4 close Active消息/查找/运行/……表

 g去ctrl +线

最近的文件ctrl + e弹出

ctrl + +左/右导航 alt反馈/前馈

 shift ctrl + + backspace浏览到最后编辑的位置

ALT + F1选择视图图标在任何文件或流

按Ctrl + B、Ctrl +点击去声明

按Ctrl + Alt + b去执行(S)

按Ctrl + Shift + I的定义开放的快速查找

按Ctrl + Shift + b去型宣言

按Ctrl + U去超超类的方法

ALT +上/下的方法去尝试

按Ctrl + ] / [移动/启动代码块结束。

按Ctrl + F12键弹出文件结构

按Ctrl + H型法

按Ctrl + Shift + H法法

按Ctrl + Alt + H呼叫法

Shift + F2代F2 /错误/以前的自己

Ctrl + F4回车/编辑/查看源代码

导航栏Alt +家居展

F11拨动书签

按Ctrl + F11拨动一个mnemonic书签

按Ctrl + # [0-9]去学生的书签

SHIFT键+ F11显示书签

搜索/替换

双移搜索无处不在

按Ctrl + F。

Shift + F3 F3查找下一个/ /查找以前

按Ctrl + R replace

按Ctrl + Shift + F是在路径

按Ctrl + Shift + R替换路径

按Ctrl + Shift + S搜索structurally(终极版只)

按Ctrl + Shift + M(replace structurally终极版只)

现场模板

按Ctrl + Alt + j环绕与现场模板

Ctrl + J插入活模板

iter迭代根据Java SDK 1.5风格

研究所与instanceof和check object type

downcast IT

itco java.util.collection iterate元素

它java.util.iterator iterate元素

itli java.util.list iterate元素

public static final PSF

THR掷新

重构

F5键复制

F6移动

ALT + DELETE删除安全

SHIFT + F6重命名

按Ctrl + F6键更改签名

按Ctrl + Alt + N线

按Ctrl + Alt +米提取物的方法

按Ctrl + Alt + V提取变量

按Ctrl + Alt + F提取物场

按Ctrl + Alt + C的提取常数

按Ctrl + Alt + P参数提取

调试

F7 F8降压和降压过/ /

SHIFT键+ F7和F8键+ /智能/失步步

Alt + F9运行到光标

Alt + F8,表达

F9恢复程序

按Ctrl + F8切换断点

按Ctrl + Shift + F8查看断点

编译和运行

按Ctrl + F9编译项目研究和化妆(dependenctrl + Shift + F9编译的包或模块选择的文件

Alt + F9键Shift+F10 /选择/配置和运行和调试

Shift+F10 F9运行/调试/

按Ctrl + Shift + F10运行从上下文配置编辑器

VCS /本地历史

按Ctrl + K /按Ctrl + T /更新项目从提交到VCS VCS

Alt + Shift + C查看最近的更改

Alt + backquote(`)VCS快速弹出。

将军

Alt + # [0-9]开放相应的工具窗口

按Ctrl + S保存所有

按Ctrl + Alt + Y访问

按Ctrl + Shift + F12拨动maximizing编辑器

Alt + Shift + F下载

Alt + Shift + I检查文件与流流谱

按Ctrl + backquote(`)直流快速开关计划

按Ctrl + Alt + S打开设置对话框

按Ctrl + Alt + Shift + S的开放结构的对话项目

按Ctrl + Shift + A是行动

按Ctrl + Tab键开关之间的标签和窗口工具

编辑

按Ctrl + Space Basic代码完成(任何类的名称,

方法或变量)

按Ctrl + Shift + Space(滤波器完成智能代码列表

方法和变量的位置型)

按Ctrl + Shift + Enter完成语句

按Ctrl + P(在方法调用的参数的参数信息)

快速文件查找Ctrl + Q

按Shift + F1外部文件

按Ctrl + mouse over code信信息

按Ctrl + F1)的错误或警告显示在符号说明

ALT +插入生成的代码…吸气,(制定的,

constructors,hashcode / equals,toString)

按Ctrl + O的覆盖方法

按Ctrl + I的实现方法

按Ctrl + Alt + T surround with ..else ... (if,for, try ..catch,

同步,等等)

按Ctrl + /评论/ uncomment与线的评论

按Ctrl + Shift + /评论/一块uncomment评论

按Ctrl + W选择successively增加代码块

按Ctrl + Shift + W降低到以前的状态电流选择

ALT + Q的上下文信息

Alt + Enter键显示的行动和意图的快速修复

按Ctrl + Alt + L点catreformed石脑油代码

按Ctrl + Alt + O optimize进口

按Ctrl + Alt + i自动缩进线(S)

表/ Shift+Tab选定行/ unindent缩进

ctrl  x  shift + +,电流线或选择 delete截止块到剪贴板

 c ctrl + +电流线, ctrl  insert复制到剪贴板或选定的块

ctrl  v  shift + +, insert粘贴从剪贴板

 shift ctrl + + V粘贴从最近的缓冲区。

ctrl + d电流线或选择的块复制

 y删除线在ctrl +符号

ctrl  shift + J +智能线连接

ctrl + enter智能线分裂

Shift+Enter启动新的生产线

按Ctrl + Shift + U拨动案例选择在符号或字块

按Ctrl + Shift + ] / [选择/启动代码块,直到结束

英文版

jetbrains.com/idea blog.jetbrains.com/idea @intellijidea
Navigation
Ctrl + N Go to class
Ctrl + Shift + N Go to file
Ctrl + Alt + Shift + N Go to symbol
Alt + Right/Left Go to next / previous editor tab
F12 Go back to previous tool window
Esc Go to editor (from tool window)
Shift + Esc Hide active or last active window
Ctrl + Shift + F4 Close active run / messages / find / ... tab
Ctrl + G Go to line
Ctrl + E Recent files popup
Ctrl + Alt + Left/Right Navigate back / forward
Ctrl + Shift + Backspace Navigate to last edit location
Alt + F1 Select current file or symbol in any view
Ctrl + B , Ctrl + Click Go to declaration
Ctrl + Alt + B Go to implementation(s)
Ctrl + Shift + I Open quick definition lookup
Ctrl + Shift + B Go to type declaration
Ctrl + U Go to super-method / super-class
Alt + Up/Down Go to previous / next method
Ctrl + ]/[ Move to code block end/start
Ctrl + F12 File structure popup
Ctrl + H Type hierarchy
Ctrl + Shift + H Method hierarchy
Ctrl + Alt + H Call hierarchy
F2 / Shift + F2 Next/previous highlighted error
F4 / Ctrl + Enter Edit source / View source
Alt + Home Show navigation bar
F11 Toggle bookmark
Ctrl + F11 Toggle bookmark with mnemonic
Ctrl + #[0-9] Go to numbered bookmark
Shift + F11 Show bookmarks
Search/Replace
Double Shift Search everywhere
Ctrl + F Find
F3 / Shift + F3 Find next / Find previous
Ctrl + R Replace
Ctrl + Shift + F Find in path
Ctrl + Shift + R Replace in path
Ctrl + Shift + S Search structurally (Ultimate Edition only)
Ctrl + Shift + M Replace structurally (Ultimate Edition only)
Live Templates
Ctrl + Alt + J Surround with Live Template
Ctrl + J Insert Live Template
iter Iteration according to Java SDK 1.5 style
inst Check object type with instanceof and
downcast it
itco Iterate elements of java.util.Collection
itit Iterate elements of java.util.Iterator
itli Iterate elements of java.util.List
psf public static final
thr throw new
Refactoring
F5 Copy
F6 Move
Alt + Delete Safe Delete
Shift + F6 Rename
Ctrl + F6 Change Signature
Ctrl + Alt + N Inline
Ctrl + Alt + M Extract Method
Ctrl + Alt + V Extract Variable
Ctrl + Alt + F Extract Field
Ctrl + Alt + C Extract Constant
Ctrl + Alt + P Extract Parameter
Debugging
F8/F7 Step over/Step into
Shift + F7 / Shift + F8 Smart step into/Step out
Alt + F9 Run to cursor
Alt + F8 Evaluate expression
F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl + Shift + F8 View breakpoints
Compile and Run
Ctrl + F9 Make project (compile modifed and dependent)
Ctrl + Shift + F9 Compile selected file, package or module
Alt + Shift + F10/F9 Select configuration and run/and debug
Shift + F10/F9 Run/Debug
Ctrl + Shift + F10 Run context configuration from editor
VCS/Local History
Ctrl + K / Ctrl + T Commit project to VCS/Update from VCS
Alt + Shift + C View recent changes
Alt + BackQuote (`) ‘VCS’ quick popup
General
Alt + #[0-9] Open corresponding tool window
Ctrl + S Save all
Ctrl + Alt + Y Synchronize
Ctrl + Shift + F12 Toggle maximizing editor
Alt + Shift + F Add to Favorites
Alt + Shift + I Inspect current file with current profile
Ctrl + BackQuote (`) Quick switch current scheme
Ctrl + Alt + S Open Settings dialog
Ctrl + Alt + Shift + S Open Project Structure dialog
Ctrl + Shift + A Find Action
Ctrl + Tab Switch between tabs and tool window
Editing
Ctrl + Space Basic code completion (the name of any class,
method or variable)
Ctrl + Shift + Space Smart code completion (filters the list of
methods and variables by expected type)
Ctrl + Shift + Enter Complete statement
Ctrl + P Parameter info (within method call arguments)
Ctrl + Q Quick documentation lookup
Shift + F1 External Doc
Ctrl + mouse over code Brief Info
Ctrl + F1 Show descriptions of error or warning at caret
Alt + Insert Generate code... (Getters, Setters,
Constructors, hashCode/equals, toString)
Ctrl + O Override methods
Ctrl + I Implement methods
Ctrl + Alt + T Surround with… (if..else, try..catch, for,
synchronized, etc.)
Ctrl + / Comment/uncomment with line comment
Ctrl + Shift + / Comment/uncomment with block comment
Ctrl + W Select successively increasing code blocks
Ctrl + Shift + W Decrease current selection to previous state
Alt + Q Context info
Alt + Enter Show intention actions and quick-fixes
Ctrl + Alt + L Reformat code
Ctrl + Alt + O Optimize imports
Ctrl + Alt + I Auto-indent line(s)
Tab / Shift + Tab Indent/unindent selected lines
Ctrl + X , Shift + Delete Cut current line or selected block to clipboard
Ctrl + C , Ctrl + Insert Copy current line or selected block to clipboard
Ctrl + V , Shift + Insert Paste from clipboard
Ctrl + Shift + V Paste from recent buffers...
Ctrl + D Duplicate current line or selected block
Ctrl + Y Delete line at caret
Ctrl + Shift + J Smart line join
Ctrl + Enter Smart line split
Shift + Enter Start new line
Ctrl + Shift + U Toggle case for word at caret or selected block
Ctrl + Shift + ]/[ Select till code block end/start
Ctrl + Delete/BackspaceDelete to word end/start
Ctrl + NumPad+/- Expand/collapse code block
Ctrl + Shift + NumPad+ Expand all
Ctrl + Shift + NumPad- Collapse all
Ctrl + F4 Close active editor tab
Usage Search
Alt + F7/Ctrl + F7 Find usages/Find usages in file
Ctrl + Shift + F7 Highlight usages in file
Ctrl + Alt + F7 Show usages
WINDOWS & LINUX KEYMAP

猜你喜欢

转载自blog.csdn.net/weixin_42114097/article/details/81950855