Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the commonly used shortcut keys for idea

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

The purpose of this article is to share with you about the common shortcut keys in idea. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Introduction to shortcut key operation Ctrl + F text search in the current file (essential) Ctrl + R text replacement in the current file (essential) Ctrl + Z undo (required) Ctrl + Y delete the line of the cursor or delete the selected line (essential) Ctrl + X cut the line of the cursor or cut the content Ctrl + C copy the line of the cursor or copy the selection Ctrl + D Copy the line of the cursor or copy the selection And insert the copy below the cursor position (required) Ctrl + W progressive selection code block. You can select the word or paragraph where the cursor is located Continuous press will expand the selection on the basis of the original selection (necessary) Ctrl + E displays the list of recently opened file records Ctrl + N finds the class file Ctrl + F according to the entered class name to find the text in the current file (necessary) Ctrl + G inserts the custom dynamic code template Ctrl + P method parameter prompt to display Ctrl + Q at the specified line where the current file jumps to the specified line. Above the variable / class name / method name where the cursor is located (you can also press when prompted to add) Display the contents of the document Ctrl + U go to the method / interface definition of the parent class of the method where the current cursor is located Ctrl + B enter the interface of the method / variable where the cursor is located or define it, which is equivalent to Ctrl + left-click Ctrl + K version control to submit the project. You need to add this project to version control before you can update the project with Ctrl + T version control. You need to add this project to version control before you can use Ctrl + H to display the hierarchy of the current class Ctrl + O Select the rewritable method Ctrl + I select the inheritable method Ctrl + unfold code Ctrl +-collapse the code Ctrl + / comment the line code of the cursor Will use different comment symbols according to the current file type (required) Ctrl + [move the cursor to the curly braces start position of the current code Ctrl +] move the cursor to the curly braces end position of the current code Ctrl + F1 display the error message Ctrl + F3 transfer to the next reference location of the selected word Ctrl + F4 close the current editing file Ctrl + F8 in Debug mode Set the current behavior breakpoint of the cursor, if it is already a breakpoint, remove the breakpoint Ctrl + F9 and perform Make Project operation Ctrl + F11 select files / folders, use mnemonics to set / cancel bookmarks Ctrl + F12 pop-up the current file structure layer, you can enter directly on the pop-up layer, filter Ctrl + Tab editing window switch, if in the switching process and press delete Is to close the corresponding selected window Ctrl + Enter intelligent delimited line Ctrl + End jump to the end of the file Ctrl + Home jump to the header Ctrl + Space basic code completion, the default in the Windows system is occupied by the input method, need to modify, it is recommended to modify to Ctrl + comma (necessary) Ctrl + Delete to delete the word behind the cursor or the Chinese sentence Ctrl + BackSpace to delete the word in front of the cursor or the Chinese sentence Ctrl + 1MIT 2Q 3 … 9 navigate to the bookmark location of the corresponding value Ctrl + left click on the open file title, pop up the file path Ctrl + cursor positioning press Ctrl do not release Summary of the class information where the cursor is located Ctrl + left arrow cursor jumps to the left beginning position of the current word / Chinese sentence Ctrl + right arrow cursor jumps to the right beginning position of the current word / Chinese sentence Ctrl + forward key equivalent to the mouse wheel forward effect Ctrl + rear key equivalent to the mouse wheel backward effect Alt + `displays a prompt for the pop-up layer Alt + Q of the version control common operation menu Display the declaration / context information of the current class Alt + F1 displays the current file to select the target pop-up layer, there are many targets in the pop-up layer can be selected Alt + F2 for the previous page, display all kinds of browsers open the target selection pop-up layer Alt + F3 select the text and look down one by one for the same text And highlight Alt + F7 to find the method / variable / class where the cursor is called Alt + F7 find the method / variable / class where the cursor is called Alt + F8 in the Debug state, select the object, pop up the debug box for the input calculation expression, view the debugging results of the input content Alt + Home locate / display to the current file Navigation BarAlt + EnterIntelliJ IDEA according to the problem of the cursor Quick repair options are provided, and the results of prompts vary with the location of the cursor (required) automatic generation of Alt + Insert code, such as set / get methods of generating objects, constructors Alt () and other Alt + left arrow keys press the left direction to switch the currently open file view Alt + right direction key to switch the currently open file view Alt + forward key the current cursor jumps to the previous method name location of the current file Alt + the rear arrow key the current cursor jumps to the latter method name location of the current file Alt + 1jue 2prit 3. 9 display the corresponding values of the tab, 1 is Project most used Shift + F1 if there are external documents can be connected to the external document Shift + F2 jump to the last highlighted error or warning location Shift + F3 in the find mode, find a match on the last Shift + F4 on the currently open file, use the new Windows window to open, the old window retains Shift + F6 to rename the file / folder Shift + F7 in Debug mode, smart step. There are multiple method calls on the line where the breakpoint is located, which method Shift + F8 pops up in Debug mode and pops out The effect shown is the same as F9 Shift + F9 is equivalent to clicking the Debug button of the toolbar Shift + F10 is equivalent to clicking the Run button of the toolbar Shift + F11 pop-up bookmark display layer Shift + Tab unindent Shift + ESC to hide the current or last active tool window Shift + End select the cursor to the current line end position Shift + Home select the cursor to the current line header position Shift + Enter to start a new line. Shift + left click on the open file name and press this shortcut key, you can close the current file Shift + scroll the current file before and after the scroll axis scroll Ctrl + Alt + L format code, you can use (essential) Ctrl + Alt + O optimized imported classes for the current file and the entire package directory You can use (required) Ctrl + Alt + I cursor lines or selected parts for automatic code indentation for the current file and the entire package directory, similar to formatting Ctrl + Alt + T for the selected code pop-up surround option pop-up layer Ctrl + Alt + J pop-up template selection window Add the selected code to the dynamic template Ctrl + Alt + H call hierarchy Ctrl + Alt + B will skip to the specific implementation when used on the method name of a call, you can skip the interface Ctrl + Alt + V quickly introduce variables Ctrl + Alt + Y synchronization, refresh Ctrl + Alt + S to open the IntelliJ IDEA system settings Ctrl + Alt + F7 display where to use. Look for the place where the class or variable is called, and use the pop-up box to find out that Ctrl + Alt + F11 toggles the full-screen mode Ctrl + Alt + Enter with a line above the cursor. The cursor locates to the new line Ctrl + Alt + Home pop-up file associated with the current file Ctrl + Alt + Space class name automatically completes Ctrl + Alt + left arrow key to the place of the previous operation (necessary) Ctrl + Alt + right arrow key to the place of the previous operation (necessary) Ctrl + Alt + forward key in search mode, jump to the last found file Ctrl + Alt + rear arrow key in search mode Skip to the next found file Ctrl + Shift + F finds the entire project or files within the specified directory (required) Ctrl + Shift + R replaces the corresponding content according to the input Scope for the entire project or files within the specified directory (required) Ctrl + Shift + J automatically merges the next line to the end of the current line (required) Ctrl + Shift + Z undo (required) Ctrl + Shift + W progressive deselect code block. You can select the word or paragraph where the cursor is located, and continuously press to expand the unchecked range on the basis of the original selection (required) Ctrl + Shift + N locate / open the file / directory through the file name To open the directory, you need to add a forward slash after the input (required) Ctrl + Shift + U to convert the selected code in turn uppercase / lowercase (required) Ctrl + Shift + T generates unit test classes for the current class If you already have a unit test class, you can select Ctrl + Shift + C to copy the current file disk path to the clipboard Ctrl + Shift + V pop-up cache of the most recent copy of the content manager pop-up layer Ctrl + Shift + E displays the recently modified file list pop-up layer Ctrl + Shift + H display method hierarchy Ctrl + Shift + B jumps to the type declaration Ctrl + Shift + I Quick View cursor Method or class definition Ctrl + Shift + A lookup action / set Ctrl + Shift + / code block comment (required) Ctrl + Shift + [check from the cursor position to its top bracket position Ctrl + Shift +] Select from the cursor position to its bottom bracket position Ctrl + Shift + + expand all codes Ctrl + Shift +-collapse all codes Ctrl + Shift + F7 highlight all selected text Press Esc highlight disappear Ctrl + Shift + F8 in Debug mode, specify breakpoint to enter conditional Ctrl + Shift + F9 to compile the selected file / package / ModuleCtrl + Shift + F12 editor to maximize Ctrl + Shift + Space intelligent code hint Ctrl + Shift + Enter automatically end code, automatically add semicolon (necessary) Ctrl + Shift + Backspace back to the last modified place Ctrl + Shift + 1meme 2 Pere3 … 9 quickly add the bookmark Ctrl + Shift + left arrow key of the specified value on the code file, the cursor jumps to the left beginning position of the current word / Chinese sentence, while selecting the word / Chinese sentence Ctrl + Shift + right arrow key on the code file, the cursor jumps to the right beginning position of the current word / Chinese sentence At the same time, select the word / Chinese sentence Ctrl + Shift + left arrow keys in the cursor focus is on the tools tab, shrink the tab area Ctrl + Shift + right arrow keys in the cursor focus on the tools tab, expand the tab area Ctrl + Shift + forward arrow key cursor on the method name, move the method to the front of the previous method, adjust the method order Ctrl + Shift + after the arrow key cursor on the method name Move the method to the front of the next method, adjust the method sort Alt + Shift + N Select / add taskAlt + Shift + F display add to the favorites pop-up layer Alt + Shift + C to view the list of recent operational items Alt + Shift + F add to favorites Alt + Shift + I view the project current file Alt + Shift + F7 in Debug mode, next, enter the current method body, if there is a method in the method body Will enter the embedded method, according to this cycle to enter Alt + Shift + F9 pop-up Debug optional menu Alt + Shift + F10 pop-up Run optional menu Alt + Shift + left-click to select the double-clicked word / Chinese sentence, press and hold You can select other words / Chinese sentences Alt + Shift + forward arrow keys move the cursor up, move Alt Shift + rear arrow keys move the cursor line down, move Ctrl + Shift + Alt + V unformatted paste Ctrl + Shift + Alt + N unformatted paste Ctrl + Shift + Alt + S open the current project settings Ctrl + Shift + Alt + C copy reference information F2 jump to the next highlight error or Warning location (required) F3 in find mode Locate to the next match, F4, edit the source F7 in Debug mode, proceed to the next step, if the current line breakpoint is a method, enter the body of the current method, if the method body still has a method, then do not enter the embedded method F8 in Debug mode, go to the next step, if the current line breakpoint is a method, do not enter the current method body F9 in Debug mode, resume the program to run But if there is a breakpoint in the code below the breakpoint, stop at the next breakpoint F11 add bookmark F12 back to the previous tool window Tab indent ESC enter the code file window from the tool window and press Shift pop-up Search Everywhere pop-up layer twice thank you for reading! This is the end of this article on "what are the common shortcut keys for idea?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report