`
meetrice
  • 浏览: 197375 次
  • 来自: 南京
社区版块
存档分类
最新评论

Idea 7.0 m2快捷键一览

    博客分类:
  • IDEA
阅读更多
Function Keyboard shortcut Use this shortcut to...
Comment with Line Comment <nobr>Ctrl + /</nobr>
<nobr>Ctrl + Numpad/</nobr>
Comment/uncomment current line or selected block with line comments
Comment with Block Comment <nobr>Ctrl + Shift + /</nobr>
<nobr>Ctrl + Shift + Numpad/</nobr>
Comment/uncomment code with block comments
Quick Javadoc <nobr>Ctrl + Q/Alt + Button2 Click</nobr> Show a popup window with Javadoc for the symbol at the caret
Parameter Info <nobr>Ctrl + P</nobr> Show parameters of the method call at the caret
Context Info <nobr>Alt + Q</nobr> Show the current method or class declaration when it is not visible
Error Description <nobr>Ctrl + F1</nobr> Show an error or warning description at the caret
External Javadoc <nobr>Shift + F1</nobr> Open browser with Javadoc for the selected item
Override Methods... <nobr>Ctrl + O</nobr> Override base class methods in the current class
Implement Methods... <nobr>Ctrl + I</nobr> Override base interface/class methods in the current class
Surround with... Ctrl + Alt + T Surround selected code fragment with if, while, try/catch, or other construct. In the GUI Designer, use this shortcut to wrap selected components into a container.
Generate <nobr>Alt + Insert</nobr> Generate constructor, getter or setter method, or EJB components
Basic Code Completion <nobr>Ctrl + Space</nobr>
<nobr>Alt + /</nobr>
Code completion for any class, method or variable
SmartType Code Completion <nobr>Ctrl + Shift + Space</nobr> Code Completion filtering the lookup list basing on expected type
Class Name Code Completion <nobr>Ctrl + Alt + Space</nobr> Completes a class name and, if necessary, creates an import statement for it
Expand Word Alt+Slash Goes through the names of classes, methods, keywords and variables in the current visibility scope.
Insert Live Template... <nobr>Ctrl + J</nobr> Show a popup list of starting with a specified prefix
Surround with Live Template... <nobr>Ctrl + Alt + J</nobr> Surround the selection with one of the templates
Next Template Variable Tab/Enter In templates: move the caret to the next template variable
Previous Template Variable <nobr>Shift + Tab</nobr> In templates: move the caret to the previous template variable
Enter Enter Icon  In the editor: enter a new line and set the caret at its beginning.
Icon In a lookup list: select an item.
Tab Tab Icon  In the editor:
With selection: indent selected lines
Without selection: insert a tab symbol (or corresponding number of space characters)
Icon In a lookup list:
No code after the caret in the editor: select an item
Some code after the caret in the editor: select an item and substitute the code after the caret with it.
Delete Delete Icon  In the editor: delete selected symbol/block
Icon In a usage view: exclude a selected item
Icon In other views: remove selected item(s)
Backspace Backspace
Shift + Backspace
Delete a character to the left of the caret.
Undo Backspace
Alt + Backspace
Undo last operation
Redo Ctrl + Shift + Z
Alt + Shift + Backspace
Redo last undone operation
Cut Ctrl + X
Shift + Delete
Cut a current line or a selected code block to clipboard
Copy Ctrl + C
Ctrl + Insert
Copy a current line or a selected code block to clipboard
Paste Ctrl + V
Shift + Insert
Paste from clipboard
Paste... Ctrl + Shift + V
Ctrl + Shift + Insert
Paste selected entry from the clipboard.
Up Up Arrow Move the caret one line up
Up with Selection Shift + Up Move the caret one line up selecting the text
Down Down Arrow Move the caret one line down
Down with Selection Shift + Down Move the caret one line down selecting the text
Left Left Arrow Move the caret one character to the left
Left with Selection Shift + Left Move the caret one character to the left selecting the text
Right Right Arrow Move the caret one character to the right
Right with Selection Shift + Right Move the caret one character to the right selecting the text
Go to Page Bottom Ctrl + Page Down Move the caret down to the page bottom
Go to Page Bottom with Selection Ctrl + Shift + Page Down Move the caret down to the page bottom selecting the text
Go to Page Top Ctrl + Page Up Move the caret up to the page bottom
Go to Page Top with Selection Ctrl + Shift + Page Up Move the caret up to the page bottom selecting the text
Page Down Page Down Move the caret one page down
Page Down with Selection Shift + Page Down Move the caret one page down selecting the text
Page Up Page Up Move the caret one page down
Page Up with Selection Shift + Page Up Move the caret one page up selecting the text
Scroll Down Ctrl + Down/Ctrl + Shift + Down Scroll the text one line down while moving the caret to the previous line
Scroll to Center Ctrl + M Scroll a line with a caret to the screen center
Scroll Up Ctrl + Up/Ctrl + Shift + Up Scroll the text one line up while moving the caret to the next line
Move to Line End End Move the caret to a line end
Move to Line End with Selection Shift + End Move the caret to a line end selecting the text
Move to Line Start Home Move the caret to a line start
Move to Line Start with Selection Shift + Home Move the caret to a line start selecting the text
Move to Next Word Ctrl + Right Move the caret to a next word
Move to Next Word with Selection Shift + Ctrl + Right Move the caret to a next word selecting it
Move to Previous Word Ctrl + Left Move the caret to a previous word
Move to Previous Word with Selection Shift + Ctrl + Left Move the caret to a previous word selecting it
Move to Text End Ctrl + End Move the caret to a text end
Move to Text End with Selection Ctrl + Shift + End Move the caret to a text end selecting it
Move to Text Start Ctrl + Home Move the caret to a text start
Move to Text Start with Selection Ctrl + Shift + Home Move the caret to a text start selecting it
Select All Ctrl + A Select an entire text opened in the editor
Delete Line at Caret Ctrl + Y Delete a line at which the caret is currently located
Delete to Word End Ctrl + Delete Delete a word starting from the current caret location up to the word end
Delete to Word Start Ctrl + Backspace Delete a word starting from the current caret location up to the word start
Toggle Insert/Override Insert Toggle insert/overwrite modes
Duplicate Line or Block Ctrl + D Duplicate a selected block or a line at which the caret is currently located
Toggle Case Ctrl + Shift + U Toggle case of a selected text block
Move to Code Block End Ctrl + ] Move the caret to the current code block end highlighting the block limits
Move to Code Block End with Selection Ctrl + Shift + ] Move the caret to the current code block end selecting the code beginning from the initial caret location
Move to Code Block Start Ctrl + [ Move the caret to the current code block start highlighting the block limits
Move to Code Block Start with Selection Ctrl + Shift + [ Move the caret to the current code block start selecting the code beginning from the initial caret location
Start New Line Shift + Enter Start a new line after the current one positioning the caret in accordance with the current indentation level (equal to sequential pressing ,)
Join Lines Ctrl + Shift + J Concatenate selected lines into one or concatenates a line where the caret is currently located with a next one
Split Line Ctrl + Enter Split a selected line at a point where the caret is located leaving the caret at the end of the first line (equal to sequential pressing , , )
Select Word at Caret Ctrl + W Select successively increasing code blocks starting from the current caret location
Unselect Word at Caret Ctrl + Shift + W Remove sequentially selection made by the action
Indent Selection Tab Move a selected block to the next indent level
Unindent Selection Shift + Tab Move a selected block to the previous indent level
Auto-indent Lines Ctrl + Alt + I Indent current line or selected block according to the
Expand <nobr>Ctrl + Numpad+</nobr>
<nobr>Ctrl + =</nobr>
Expand method, class or any other foldable block of code at caret.
Collapse <nobr>Ctrl + Numpad-</nobr>
<!---->
Fold method, class or any other foldable block of code at caret.
Expand All <nobr>Ctrl + Shift + Numpad+ </nobr>
<nobr>Ctrl + Shift + =</nobr>
Expand all folded blocks in the current source file.
Collapse All <nobr>Ctrl + Shift + Numpad- </nobr>
<!---->
Collapse all foldable blocks in the current source file.
Fold Selection / Remove Region <nobr>Ctrl+.</nobr> Collapse or expands the current selection. This option folds or unfolds arbitrary fragments of text.
Fold Code Block <nobr>Ctrl+Shift+.</nobr> Collapse current block of code, even though that block does not have folding toggles (for example, if or when constructs.
Make Project <nobr>Ctrl + F9</nobr> Compile all modified and dependent files in a project
Compile <nobr>Ctrl + Shift + F9</nobr> Compile a selected file/package
Run <nobr>Shift + F10</nobr> Run a program
Debug <nobr>Shift + F9</nobr> Debug a program
Step Over F8 Step to a next line in a current file
Step Into F7 Step to a next executed line
Step Out <nobr>Shift + F8</nobr> Step to a first executed line after returning from a current method
Run to Cursor <nobr>Alt + F9</nobr> Run to the line where the caret is located
Resume Program F9 Resume program execution
Stop Program <nobr>Shift + F2</nobr> Terminate a debugging session
Evaluate Expression <nobr>Alt + F8</nobr> Evaluate an arbitrary expression
Toggle Breakpoint <nobr>Ctrl + F8</nobr> Toggle breakpoint at a current line
View Breakpoints <nobr>Ctrl + Shift + F8</nobr> View/manage all breakpoints/watchpoints
Edit Source F4 Open an editor for the selected item or items (inluding a GUI form) and give focus to the last opened file.
View Source Ctrl + Enter Open an editor for the selected item or items.
New... Alt+Insert Create a new class, interface, file or directory.
Escape Esc

In the editor: closes popups, removes highlighting

In a tool window: transfers focus to the editor

Export to Text File Alt + O Export contents of a a tool window to a text file.
Select Next Tab <nobr>Alt + Right</nobr> When several tabs are open in the editor or a view, open the next tab to the right (or first tab if the current one is the last).
Select Previous Tab <nobr>Alt + Left</nobr> When several tabs are open in the editor or a view, open the next tab to the left (or last tab if the current one is the first)
Close Active Editor <nobr>Ctrl + F4</nobr> Close an active editor.
Close Active Tab <nobr>Ctrl + Shift + F4</nobr> Close an active tab in a tool window.
Save All <nobr>Ctrl + S</nobr> Save all files and settings.
Synchronize <nobr>Ctrl + Alt + Y</nobr> Detect all externally changed files and reload them from disk
Full Screen <nobr>Ctrl + Alt + F11</nobr> Toggle full-screen mode on/off for the current IDEA frame
Show Intention Action <nobr>Alt + Enter</nobr> Display intention actions (if any) for the code where the caret is currently located, or the selected GUI component in a form.
Change View <nobr>Alt + F1</nobr> Choose Project, Sourcepath or Classpath tree in the tool window
Collapse all <nobr>Ctrl + Numpad-</nobr>
<nobr>Ctrl + Minus</nobr>
Collapse all nodes in a tree view
Expand all <nobr>Ctrl + Numpad+</nobr>
<nobr>Ctrl + Plus</nobr>
Expand all nodes in a tree view
Open tool window <nobr>Alt + <number></number></nobr> Open a tool window with the corresponding number
Hide Active Window <nobr>Shift + Escape</nobr> Hide a currently active tool window
Jump to Last Window F12 Activate a last focused tool window
Change Left View <nobr>Alt + F1</nobr> Change the left panel contents
Change Right View <nobr>Alt + F2</nobr> Change the right panel contents
Synchronize Views <nobr>Alt + F6</nobr> Synchronize both panels
Swap Panels <nobr>Ctrl + U</nobr> Swap the panels
In-place editing <nobr>F2</nobr> Trigger in-place editor for the name of a selected component in a GUI form.
Move to Next Difference F7 Navigate to the next difference in a view
Move to Previous Difference <nobr>Shift + F7</nobr> Navigate to the previous difference in a view
Go to Bookmark <number></number> <nobr>Ctrl + <number></number></nobr> Navigate to a numbered bookmark with corresponding number
Toggle Bookmark <number></number> <nobr>Ctrl + Shift + <number></number></nobr> Turn bookmark on or off.
File Structure Popup <nobr>Ctrl + F12</nobr> Popup the current file structure for quick navigation
Select in... <nobr>Alt + F1</nobr> Select the current class or method in any view
Recent Files... <nobr>Ctrl + E</nobr> Show recently edited file list
Type Hierarchy <nobr>Ctrl + H</nobr> Browse hierarchy for the selected class
Method Hierarchy <nobr>Ctrl + Shift + H</nobr> Browse method hierarchy for the selected method
Call Hierarchy <nobr>Ctrl + Alt + H</nobr> Browse call hierarchy for the selected method
Go to Class <nobr>Ctrl + N</nobr> Navigate directly to any class in the project by specifying its name in a pop-up dialog
Go to File <nobr>Ctrl + Shift + N</nobr> Navigate directly to any file in the project by specifying its name in a pop-up dialog
Go to Line <nobr>Ctrl + G</nobr> Navigate to any line in the current file by specifying the line number
Go to Declaration <nobr>Ctrl + B</nobr> Navigated to a declaration of an item under the caret
Go to Implementation <nobr>Ctrl + Alt + B</nobr> Navigate to an implementation of an item under the caret
Go to Type Declaration <nobr>Ctrl + Shift + B</nobr> Navigate to a type declaration of an item which is a variable or a method call under the caret
Go to Super Method <nobr>Ctrl + U</nobr> Navigate to a super method declaration of a method under the caret
Go to Next Method <nobr>Alt + Down</nobr> Navigate to the next method declaration in the active editor tab
Go to Previous Method <nobr>Alt + Up</nobr> Navigate to the previous method declaration in the active editor tab
Back <nobr>Ctrl + Alt + Left</nobr> Undo last navigation operation
Forward <nobr>Ctrl + Alt + Right</nobr> Redo last undone navigation operation
Go to Previous Occurrence <nobr>Ctrl + Alt + Up</nobr> Navigate to a previous found item in a or tool window
Go to Next Occurrence <nobr>Ctrl + Alt + Down</nobr> Navigate to a next found item in a or tool window
Last Edit Location <nobr>Ctrl + Shift + Backspace</nobr> Move through the most recent change points
Go to Next Highlighted Error F2 Navigate to the next found error/warning
Go to Previous Highlighted Error <nobr>Shift + F2</nobr> Navigate to the previous found error/warning
Find <nobr>Ctrl + F</nobr> Invoke the dialog.
Replace <nobr>Ctrl + R</nobr> Invoke the dialog.
Search for next/previous occurrence <nobr>F3/Shift + F3</nobr> Navigate to the next/previous occurrence of a selected word in the editor.
Find Word at Caret <nobr>Ctrl + F3</nobr> Search in the editor for the word where the caret is currently located.
Incremental Search <nobr>Alt + F3</nobr> Invoke the popup.
Find in Path <nobr>Ctrl + Shift + F</nobr> Invoke the dialog.
Replace in Path <nobr>Ctrl + Shift + R</nobr> Invoke the dialog.
Find Usages <nobr>Alt + F7</nobr> Invoke the dialog.
Find Usages in File <nobr>Ctrl + F7</nobr> Invoke the dialog.
Highlight Usages in File <nobr>Ctrl + Shift + F7</nobr> Highlight usages of a symbol where the caret is currently located.
Rename <nobr>Shift + F6</nobr> Rename a selected statement and correct all references
Change Method Signature <nobr>Ctrl + F6</nobr> Refactor a selected method signature and update all references
Move F6 Move a selected class/package/static member to another package/class and correct all references
Copy F5 Create a selected class/file/directory copy in the same or different package
Clone <nobr>Shift + F5</nobr> Create a selected class copy in the same package
Safe Delete <nobr>Alt + Delete</nobr> Delete a selected class/method/field checking its usages
Extract Method <nobr>Ctrl + Alt + M</nobr> Turn a selected code into a method
Introduce Variable <nobr>Ctrl + Alt + V</nobr> Put a selected expression result into a variable
Introduce Field <nobr>Ctrl + Alt + F</nobr> Put a selected expression result into a field
Introduce Constant <nobr>Ctrl + Alt + C</nobr> Replace a selected expression with a constant (static final field)
Introduce Parameter <nobr>Ctrl + Alt + P</nobr> Turn a selected expression into a method parameter
Inline <nobr>Ctrl + Alt + N</nobr> Inline a selected method/variable
分享到:
评论

相关推荐

    IDEA2017版快捷键打包jar

    这篇内容我们将深入探讨"IDEA2017版快捷键打包jar"的相关知识点,以及如何将Eclipse的常用快捷键应用到IDEA中,以帮助Eclipse开发者顺利过渡到IDEA的开发环境。 首先,快捷键在编程中起着至关重要的作用,它能够...

    IntelliJ IDEA 常用快捷键一览表.pdf

    下面是 IntelliJ IDEA 中常用的快捷键一览表: 通用型快捷键 * 复制:Ctrl + C * 粘贴:Ctrl + V * 剪切:Ctrl + X * 撤销:Ctrl + Z * 反撤销:Ctrl + Shift + Z * 保存:Ctrl + S * 全选:Ctrl + A 提高编写...

    IDEA转Eclipse快捷键的jar包

    它允许用户在Eclipse中模拟IntelliJ IDEA的快捷键设置,使得那些已经熟悉IDEA快捷键的开发者能在Eclipse中无缝切换,提高开发效率,减少学习新快捷键的时间成本。 首先,我们需要了解这两个IDE的快捷键体系。...

    IDEA导入Eclipse快捷键

    这两个IDE各有其特点,而很多开发者在使用IntelliJ IDEA时,由于习惯Eclipse的快捷键设置,可能会希望在IDEA中也能配置成与Eclipse相似的快捷键布局。本文将详细介绍如何在IntelliJ IDEA中导入并设置Eclipse的快捷键...

    使用Idea的一些快捷键

    ### 使用IntelliJ IDEA的一些快捷键 #### 一、引言 IntelliJ IDEA是一款非常强大的集成开发环境(IDE),广泛应用于Java、HTML5、PHP等语言的开发中。掌握其快捷键能极大提高开发效率,使开发者能够更加专注于代码...

    eclipse和IDEA快捷键

    ### Eclipse与IntelliJ IDEA快捷键对比分析 #### 搜索功能 **Eclipse与IDEA在搜索方面的快捷键对比:** - **基本搜索** - **Eclipse**: 使用`Ctrl+F`来搜索文本。 - **IDEA**: 同样使用`Ctrl+F`进行搜索文本的...

    idea 和 eclipse 快捷键对比

    个人整理idea快捷键在eclipse中对应的哪个快捷键,方便从eclipse转到idea的开发者提高开发速度与效率

    IntelliJ IDEA个性化快捷键设置

    IntelliJ IDEA的快捷键很强大,找到自己熟悉的快捷键操作很重要

    IDEA使用eclipse快捷键

    IDEA中导入eclipse的快捷键。对于使用习惯了eclipse快捷键的朋友有帮助。

    Intellij IDEA和MarkDown快捷键桌面壁纸(黑底白字)

    IDEA常用快捷键整理成一张壁纸桌面+MarkDown2的快捷键。为底部任务栏预留空白,查看使用方便!

    idea继承myeclipse快捷键

    idea继承myeclipse快捷键,import setting即可

    IDEA快捷键.docx

    IntelliJ IDEA是一款广受欢迎的Java开发集成环境,它的强大功能和丰富的快捷键极大地提高了开发效率。以下是一些IntelliJ IDEA中常用的快捷键及其作用,适用于Java Web开发和其他编程任务: 1. **Ctrl+N**: 这个...

    IDEA设置以及快捷键

    IntelliJ IDEA是一款广受欢迎的Java集成开发环境,以其强大的代码智能提示、高效的代码编写功能以及丰富的快捷键操作深受开发者喜爱。IDEA不需要像其他IDE那样设置工作空间,每个Project本身就是一个独立的工作空间...

    Idea快捷键(中文说明)

    Idea快捷键说明,官方的是英文版的,转成中文的,英文不好的朋友可以看看

    IDEA常用快捷键-壁纸

    常用快捷键-壁纸常用快捷键-壁纸

    idea最全快捷键设置与使用

    在本篇文章中,我们将深入探讨“idea最全快捷键设置与使用”,帮助开发者充分利用IDEA的快捷键功能,提高编程效率。 首先,快捷键是提升开发速度的关键。IDEA提供了丰富的默认快捷键,覆盖了大部分常用操作。例如,...

    idea eclipse快捷键配置

    idea快捷键配置,eclipse快捷键 idea 使用 eclipse 快捷键 配置 idea快捷键配置,eclipse快捷键 idea 使用 eclipse 快捷键 配置

    快捷键.xml+idea快捷键大全

    idea快捷键大全,idea最新版的快捷键,很全的,目前支持所有的快捷键说明

    IDEA系统默认的快捷键.md

    IDEA系统默认快捷键总结及IDEA代码快速生成,适合刚入手IDEA的小白。。。。IDEA快捷键总结

Global site tag (gtag.js) - Google Analytics