当前位置:网站首页>Idea shortcut keys
Idea shortcut keys
2022-07-04 14:08:00 【Please Sit Down】
One 、 structure / compile
Ctrl + F9: Build the project
This shortcut key , Equivalent to menu 【Build】—>【Build Project】
Ctrl + Shift + F9: Recompile the current class
This shortcut key , Equivalent to menu 【Build】—>【Recompile ‘class name’】
Two 、 Text editing
Ctrl + X: shear
Cut the selected text , If not selected, the current line will be cut .
Ctrl + C: Copy
Copy the selected text , If not selected, the current line will be copied .
Ctrl + V: Paste
Ctrl + Alt + Shift + V: Paste as plain text
Select the content to paste from the history clipping and pasting version .
Ctrl + Shift + V: Select paste from history
Ctrl + D: Copy line
Copy the line where the cursor is .
Ctrl + Shift + C: Copy file path
Copy the path of the selected file .
Ctrl + Alt + Shift + C: Copy reference
Copy package path , Or the name of the class .
Ctrl + S: Save it all
Ctrl + Z: revoke
Undo the previous operation .
Ctrl + Shift + Z: redo
Restore the previous undo .
Tab: Indent
Shift + Tabl: remove indent
Ctrl + Alt + I: Automatic retraction
Auto indent to normal position .
Shift + Enter: Start a new business
Whether or not the cursor is at the end of the line , Start a new line .
Ctrl + Alt + Enter: Start a new line before the current line
Ctrl + Y: Delete row
Delete current row .
Ctrl + Shift + U: toggle case
Ctrl + Alt + Shift + Insert: Create temporary file
You can create various types of temporary files , The temporary file will not be saved to disk .
Shift + F4: Open... In a new window
Open the current file in a new window .
3、 ... and 、 Cursor operation
Ctrl + Left: Move one word left
Ctrl + Right: Move one word right
Home: Move to the beginning of the line
End: Move to end of line
Ctrl + Shift + M: Move to braces
Press the shortcut key several times , You can switch between the left and right braces .
Ctrl + [: Move to the beginning of the code block
Ctrl + ]: Move to the end of the code block
Alt + Down: Next method
Alt + Up: Previous method
Ctrl + PageUp: Move to the top of the page
Ctrl + PageDown: Move to the bottom of the page
PageUp: Page up
PageDown: Page down
Ctrl + Home: Move to the beginning of the file
Ctrl + End: Move to end of file
Four 、 Text selection
Ctrl + A: Future generations
Shift + Left: Select... To the left
Shift + Right: Select... To the right
Ctrl + Shift + Left: Select a word to the left
Ctrl + Shift + Right: Select a word to the right
Shift + Home: Select left to the beginning of the line
Shift + End: Select right to the end of the line
Shift + Up: Choose up
Shift + Down: Choose down
Ctrl + Shift + [: Select to the beginning of the code block
Ctrl + Shift + ]: Select to the end of the code block
Ctrl + Shift + PageUp: Select to the top of the page
Ctrl + Shift + PageDown: Select to the bottom of the page
Shift + PageUp: Page up and select
Shift + PageDown: Page down and select
Ctrl + Shift + Home: Select the to file switch
Ctrl + Shift + End: Select to end of file
Ctrl + W: Expansion options
Ctrl + Shift + W: Shrink selection
5、 ... and 、 Code folding
Ctrl + NumPad+: Expand code block
Ctrl + NumPad-: Collapse code block
Ctrl + Alt + NumPad+: Recursive expansion
Ctrl + Alt + NumPad-: Recursive folding
Ctrl + Shift + NumPad+: Expand all
Ctrl + Shift + NumPad-: All folding
Ctrl + .: Fold selection
6、 ... and 、 Multiple caret and range selections
Alt + Shift + Click: add to / Delete caret
Alt + Shift + Insert: Toggle column selection mode
double-click Ctrl + Up: Clone the caret up
Press Ctrl Key twice , Then press the up arrow key without releasing .
double-click Ctrl + Down: Clone the caret down
Press Ctrl Key twice , Then press the down arrow key without releasing .
Alt + Shift + G: Add a caret to each row in the selection
Alt + J: Choose where the unit will appear next
Alt + Shift + J: Cancel the last selection
Ctrl + Alt + Shift + J: Select where all appear
Alt + Shift + Middle-Click: Create a rectangular selection
Alt + Click: Drag to create a rectangular selection
Ctrl + Alt + Shift + Click: Drag to create multiple rectangular selections
7、 ... and 、 Auxiliary coding
Alt + Enter: Show suggested actions
This shortcut key is also called “ Wantong shortcut key ”, It will suggest different operations according to different contexts . The following demonstration is just one of them , There are many other uses , You can try .
Ctrl + Space: Code completion
Ctrl + Shift + Space: Type matching code completion
Ctrl + Alt + Space: Second code completion
Ctrl + Shift + Enter: Complete the current statement
Ctrl + Alt + L: formatting code
Ctrl + P: Parameter information reminder
Ctrl + Q: Quick documents
Ctrl + Shift + Up: Move statement up
Ctrl + Shift + Down: Move statement down
Ctrl + Alt + Shift + Left: Move elements to the left
Ctrl + Alt + Shift + Right: Move the element to the right
Alt + Shift + Up: Move queue up
Alt + Shift + Down: Move the queue down
Ctrl + /: Add line comments
Ctrl + Shift + /: Add block comments
Alt + Insert: Production statement
8、 ... and 、 Context navigation
Alt + Down: Jump to the next method
Alt + Up: Jump to the previous method
Ctrl + G: Jump to specified line
Ctrl + Tab: Switch active files
Alt + F1: Select the location of the file
Ctrl + E: Recent documents
Ctrl + Shift + Backspace: Go back to the last edit position
Ctrl + Alt + Left: back off
Ctrl + Alt + Right: Forward
Ctrl + Alt + Down: Next thing
Ctrl + Alt + Up: Last event
Alt + Right: Select the next tab
Alt + Left: Select the next tab
F11: Switch anonymous Bookmarks
Ctrl + Shift + [digit]: Switch bookmarks with numbers
Ctrl + F11: Switch bookmarks using auxiliary characters
Shift + F11: Display all bookmarks
Ctrl + [digit]: Jump to bookmarks with numbers
Alt + 7: Show structure window
Alt + 3: Display the find window
Nine 、 Search operation
double-click Shift: Find all
Ctrl + F: To find the character ( Current file )
F3: Find the next one
Shift + F3: Find the last one
Ctrl + R: Replace character ( Current file )
Ctrl + Shift + F: To find the character ( All the files )
Ctrl + Shift + R: Replace character ( All the files )
Ctrl + F3: Jump to the next position of the word at the cursor
Ctrl + Shift + N: Find the file and jump to
Ctrl + F12: Open the file structure
Ctrl + Alt + Shift + N: Search for symbols ( Variable 、 Such method )
Ctrl + Shift + A: Find action
Ten 、 Symbol navigation
Alt + F7: Find usage
Ctrl + B: Jump to the statement
Ctrl + Shift + B: Jump to the declaration class
Ctrl + Alt + F7: Show usage
Ctrl + U: Jump to super method
Ctrl + Alt + B: Jump to the implementation method
Ctrl + Shift + F7: Highlight the usage in the file
11、 ... and 、 The code analysis
Alt + Enter: Show intention operation
Ctrl + F1: Display error description
F2: The next highlighted error
Shift + F2: The last highlighted error
Ctrl + Alt + Shift + I: Run check by name
Alt + 6: Display the question window
Twelve 、 Operation and commissioning
double-click Ctrl: Run all
Shift + F10: Run context configuration
Alt + Shift + F10: Open the run window
Shift + F9: Debug context configuration
Alt + Shift + F9: Open the debug window
Ctrl + Alt + F5: Attach to process
Ctrl + F2: stop it
F9: Run to the next breakpoint
Ctrl + Shift + F2: Stop the background process
F8: Cross call
Alt + Shift + F8: Force Cross call
F7: Enter call
Shift + F7: Smart entry call
Alt + Shift + F7: Force entry call
Shift + F8: Jump out call
Alt + F9: Run to cursor
Ctrl + Alt + F9: Force to cursor
Alt + F10: Show execution point
Alt + F8: Evaluation expression
Ctrl + Alt + F8: Quickly evaluate expressions
Ctrl + F8: Switch line breakpoints
Ctrl + Alt + Shift + F8: Switch temporary line breakpoints
Ctrl + Shift + F8: View breakpoints
Ctrl + Shift + F8: Edit breakpoint
Alt + 4: Display the run window
Alt + 5: The debug window is displayed
Alt + 8: Display the service window
13、 ... and 、 Code refactoring
Ctrl + Alt + Shift + T: Open the refactoring list
Shift + F6: Modify name
Ctrl + F6: Modify signature
Ctrl + Alt + N: inline
F6: Move
Ctrl + Alt + M: Extraction method
Ctrl + Alt + F: Introduce domain
Ctrl + Alt + P: Introduce parameters
Ctrl + Alt + V: Introduce variables
Alt + Delete: Safe deletion
fourteen 、 overall situation CVS operation
Alt + `: eject CVS window
Ctrl + K: Submit
Ctrl + T: Update project
Ctrl + Alt + Z: Roll back
Ctrl + Shift + K: Pull
Ctrl + Alt + Shift + Down: Next modification
Ctrl + Alt + Shift + Up: Last modification
Alt + 9: The version control window is displayed
Alt + 0: Show the submit window
15、 ... and 、 Difference viewer
F7: The next difference
Shift + F7: The last difference
Ctrl + Alt + R: Accept left
Ctrl + Alt + A: Accept right
Ctrl + Shift + Tab: Select the opposite differences pane
Ctrl + Shift + D: The difference setting window is displayed
sixteen 、 Tool window
Shift + Escape: Hide the active tool window
Ctrl + Shift + F12: Hide all tool windows
F12: Jump to the last tool window
Ctrl + Alt + Shift + Left: Extend window size to the left
Ctrl + Alt + Shift + Right: Extend window size to the right
Ctrl + Alt + Shift + Up: Extend the window size to the top
Ctrl + Alt + Shift + Down: Extend the window size to the bottom
Alt + 1: Show project window
Alt + 2: Show bookmarks window
Alt + 3: Display the find window
Alt + 4: Display the run window
Alt + 5: The debug window is displayed
Alt + 6: Display the question window
Alt + 7: Show structure window
Alt + 8: Display the service window
Alt + 9: The version control window is displayed
Alt + 0: Show the submit window
Alt + F12: Displays the terminal window
边栏推荐
- [antd step pit] antd form cooperates with input Form The height occupied by item is incorrect
- Gorm 读写分离(转)
- 【Antd】Antd 如何在 Form.Item 中有 Input.Gourp 时获取 Input.Gourp 的每一个 Input 的value
- Summary of recent days (non-technical article)
- Worried about "cutting off gas", Germany is revising the energy security law
- OpenHarmony应用开发之如何创建DAYU200预览器
- 面试拆解:系统上线后Cpu使用率飙升如何排查?
- 锐成芯微冲刺科创板:年营收3.67亿拟募资13亿 大唐电信是股东
- 苹果5G芯片研发失败:继续依赖高通,还要担心被起诉?
- 基于PaddleX的智能零售柜商品识别
猜你喜欢
随机推荐
DGraph: 大规模动态图数据集
MySQL 5 installation and modification free
Getting started with microservices
js中的变量提升和函数提升
担心“断气” 德国正修改《能源安全法》
CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...
Golang 使用 JSON unmarshal 数字到 interface{} 数字变成 float64 类型(转)
華昊中天沖刺科創板:年虧2.8億擬募資15億 貝達藥業是股東
Introduction to reverse debugging PE structure resource table 07/07
吃透Chisel语言.03.写给Verilog转Chisel的开发者(没有Verilog基础也可以看看)
JVM series - stack and heap, method area day1-2
博士申请 | 西湖大学学习与推理系统实验室招收博后/博士/研究实习等
ViewBinding和DataBinding的理解和区别
OPPO Find N2产品形态首曝:补齐各项短板
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
基于PaddleX的智能零售柜商品识别
C language programming topic reference
Interviewer: what is the internal implementation of hash data type in redis?
小程序直播 + 电商,想做新零售电商就用它吧!
数据库公共字段自动填充