Intellij IDEA ShortCuts Key

Intellij IDEA ShortCuts Key

Help——》Default Keymap reference

To find any action inside the IDE use

Find Action (Ctrl+Shift+A/   A)

Alt + F7 / Ctrl + F7  Find usages / Find usages in file

Ctrl + Shift + F7  Highlight usages in file

Ctrl + Alt + F7  Show usages

Compile and Run

Ctrl + F9  Make project (compile modifed and dependent)

Ctrl + Shift + F9  Compile selected file, package or module

Alt + Shift + F10  Select configuration and run

Alt + Shift + F9  Select configuration and debug

Shift + F10  Run

Shift + F9  Debug

Ctrl + Shift + F10  Run context configuration from editor

Debugging

F8  Step over

F7  Step into

Shift + F7   Smart step into

Shift + F8  Step out

Alt + F9  Run to cursor

Alt + F8  Evaluate expression

F9  Resume program

Ctrl + F8  Toggle breakpoint

Ctrl + Shift + F8  View breakpoints

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 or 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

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

VCS/Local History

Ctrl + K  Commit project to VCS

Ctrl + T  Update project from VCS

Alt + Shift + C  View recent changes

Alt + BackQuote (`)  ‘ VCS’ quick popup

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

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?or?Shift?+?Delete  Cut current line or selected block to clipboard

Ctrl?+?C?or?Ctrl?+?Insert  Copy current line or selected block to clipboard

Ctrl?+?V?or?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  Delete to word end

Ctrl + Backspace  Delete to word start

Ctrl + NumPad+/-  Expand/collapse code block

Ctrl + Shift?+?NumPad+  Expand all

Ctrl + Shift?+?NumPad-  Collapse all

Ctrl + F4  Close active editor tab

Search/Replace

Double Shift   Search everywhere

Ctrl + F  Find

F3  Find next

Shift + F3  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

时间: 2024-08-28 04:44:37

Intellij IDEA ShortCuts Key的相关文章

Custom & Eclipse shortcuts key bindings for Sublime Text 2

[ { "keys": ["f12"], "command": "htmlprettify"}, { "keys": ["f1"], "command": "fold" }, { "keys": ["f2"], "command": "unfold" }, { &quo

OS X: Keyboard shortcuts

Using keyboard shortcuts To use a keyboard shortcut, press a modifier key at the same time as a character key. For example, pressing the Command key (it has a ? symbol) and then the "c" key copies whatever is currently selected to the Clipboard.

git: fatal: Could not read from remote repository

This is probably an Intellij problem. Your key are managed natively by ssh, and Intellij has it's own ssh program. Go to the settings, search git->ssh executable then choose native As seen here : git with IntelliJ IDEA: Could not read from remote rep

mac 福利 快捷键(英文版)

官方原版:希望能用苹果电脑的同学能喜欢 OS X: Keyboard shortcuts You can use keyboard shortcuts to do things on your Mac by pressing a combination of keys on your keyboard. Using keyboard shortcuts To use a keyboard shortcut, press a modifier key at the same time as a c

Auto Hotkey 脚本学习记录 —— 热键与热字符串

参考文档: AutoHotkey 0级入门教程:让重复工作一键完成 (2011-10-24修订) AutoHotkey:帮助win run更方便 AutoHotkey|脚本:用Irfanview把24位真彩图片优化到实际色深 AutoHotkey 学习指南(最近更新: 2012-03-09) AHK 是一个叫 AutoHotKey 的软件的缩写,可以实现很多有趣的功能,可以简化你的重复性工作.比如修改系统快捷键.模拟鼠标键盘按键的按下--我们先来对付一下这些 IT 名词,它们会在后面的教程中经常

.net 反编译利器 dnspy

Binaries Latest release: https://github.com/0xd4d/dnSpy/releases Latest build (possibly unstable): https://ci.appveyor.com/project/0xd4d/dnspy/build/artifacts Features Assembly editor Decompiler Debugger Tabs and tab groups Themes (blue, dark, light

android studio 使用git中出现的问题

1.  .gitconfig找不到 第一次在as中配置git后,出现了严重的错误,当你在一个本地仓库中 右键 git bash here后,你的 .gitconfig 文件就会找不到,出现错误 xxx/xxx/%HOMEDRIVER%%HOME....%: can't find .gitconfig, 之类的错误,但是我发现我的电脑的用户变量并没有这两个东西,不知道是被删了还是本来就没有 解决方案: 在用户变量中新建一个   HOME, 变量值为包含有 .gitconfig 的路径,.gitco

vscode 快捷键配置

files --> Preferences --> Keyboard Shortcuts { "key": "ctrl+b", "command": "-workbench.action.toggleSidebarVisibility" }, { "key": "ctrl+b", "command": "python.execInTerminal

gitminer

https://github.com/UnkL4b/GitMiner + Autor: UnK + Blog: https://unkl4b.github.io + Github: https://github.com/danilovazb + Twitter: https://twitter.com/danilo_vaz_ WARNING +---------------------------------------------------+ | DEVELOPERS ASSUME NO L