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 shortcut keys for Intellij IDEA

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly introduces "what are the shortcuts of Intellij IDEA". In daily operation, I believe many people have doubts about the shortcuts of Intellij IDEA. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "what are the shortcuts of Intellij IDEA?" Next, please follow the editor to study!

[general]

Ctrl+Shift + Enter, statement completed

"!" , negative completion, press "!" when entering the expression Key

Ctrl+E, recent file

Ctrl+Shift+E, recently changed file

Shift+Click, you can close files

Ctrl+ [OR], you can run to the beginning and end of curly braces

Ctrl+F12, which can display the structure of the current file

Ctrl+F7, you can query the reference of the current element in the current file, and then press F3 to select

Ctrl+N, you can quickly open classes

Ctrl+Shift+N, you can quickly open files

Alt+Q, you can see the declaration of the current method

Ctrl+P, which can display parameter information

Ctrl+Shift+Insert, you can select the clipboard contents and insert

Alt+Insert, can generate constructor / Getter/Setter, etc.

Ctrl+Alt+V, you can introduce variables. For example: new String (); automatically import variable definitions

Ctrl+Alt+T, you can wrap the code in a block, for example: try/catch

Ctrl+Enter, import package, automatic correction

Ctrl+Alt+L, formatting code

Ctrl+Alt+I, which automatically indents the selected code. This function also works when editing JSP files.

Ctrl+Alt+O, optimizing imported classes and packages

Ctrl+R, replace text

Ctrl+F, finding text

Ctrl+Shift+Space, automatic completion code

Ctrl+ space, code hint (conflicts with system input method shortcuts)

Ctrl+Shift+Alt+N to find a method or variable in a class

Alt+Shift+C, recent Chan

Alt+Shift+Up/Down, move one line up / down

Shift+F6, refactoring-renaming

Ctrl+X, delete Lin

Ctrl+D, copy Lin

Ctrl+/ or Ctrl+Shift+/, comments (/ / or / * * /)

Ctrl+J, automatic code (e.g. serr)

Ctrl+Alt+J, surrounded by dynamic templates

Ctrl+H, showing the class structure diagram (the inheritance hierarchy of the class)

Ctrl+Q, displaying comment documents

Alt+F1, find the location of the code

Alt+1, quickly open or hide the project panel

Ctrl+Alt+left/right, return to the location you browsed last time

Alt+left/right, toggle code view

Alt+Up/Down, fast moving and positioning between methods

Ctrl+Shift+Up/Down, move the statement up / down

F2 or Shift+F2, quick positioning of highlighted errors or warnings

Tab, after the code label is entered, press Tab to generate the code

Ctrl+Shift+F7, highlight all the text, press Esc to highlight and disappear

Alt+F3, look down for the same text one by one, and highlight

Ctrl+Up/Down, move the cursor under the first or last line

Ctrl+B/Ctrl+Click, quickly open the class or method at the cursor (jump to the definition)

Ctrl+Alt+B, jump to the method implementation

Ctrl+Shift+Backspace, jump to the place you edited last time

Ctrl+O, rewriting method

Ctrl+Alt+Space, automatic completion of class names

Ctrl+Alt+Up/Down, quickly jump to search results

Ctrl+Shift+J, integrate two lines

Alt+F8, calculating variable values

Ctrl+Shift+V, which can insert the most recently used clipboard content selection into the text

Ctrl+Alt+Shift+V, simple paste

Shift+Esc, which can not only shift the focus to the editor, but also hide the current (or last active) tool window

F12, move the focus from the editor to the recently used tool window

Shift+F1, the browser where you want to open the Java document for the class or method used at the editor cursor character

Ctrl+W, you can choose a word and then a statement and then a function

Ctrl+Shift+W, deselect the word where the cursor is located

Alt+F7 to find the location of a class, method, or variable used throughout the project

Ctrl+I, implementation method

Ctrl+Shift+U, case conversion

Ctrl+Y, delete the current line

Shift+Enter, insert a new line down

Psvm/sout,main/System.out.println (); Ctrl+J, see more

Ctrl+Shift+F, global lookup

Ctrl+F, find / Shift+F3, look up / F3, look down

Ctrl+Shift+S, Advanced search

Ctrl+U, go to parent class

Ctrl+Alt+S, open the settings dialog box

Alt+Shift+Inert, turns column selection mode on / off

Ctrl+Alt+Shift+S to open the current project / module properties

Ctrl+G, locate the Lin

Alt+Home, jump to the navigation bar

Ctrl+Enter, insert a line above

Ctrl+Backspace, delete by word

Ctrl+ "+ / -", current method expands and collapses

Ctrl+Shift+ "+ / -", expand and collapse all

[debug part, compile]

Ctrl+F2, stop.

Alt+Shift+F9, select Debug

Alt+Shift+F10, select Run

Ctrl+Shift+F9, compiling

Ctrl+Shift+F10, running

Ctrl+Shift+F8, view breakpoints

F8, step over.

F7, step into

Shift+F7, intelligent step in

Shift+F8, step out

Alt+Shift+F8, force the step

Alt+Shift+F7, forced to enter

Alt+F9, run to the cursor

Ctrl+Alt+F9, force to run to the cursor

F9, recovery program

Alt+F10, navigate to the breakpoint

Ctrl+F8, switch line breakpoints

Ctrl+F9, build the project

Alt+1, project

Alt+2, collectiv

Alt+6,TODO

Alt+7, structure

Ctrl+Shift+C, replication path

Ctrl+Alt+Shift+C, copy the reference, you must select the class name

Ctrl+Alt+Y, synchronization

Ctrl+~, fast switching scheme (interface appearance, code style, shortcut key mapping, etc. Menu)

Shift+F12, restore the default layout

Ctrl+Shift+F12, hide / restore all windows

Ctrl+F4, turn off

Ctrl+Shift+F4, close the active tab

Ctrl+Tab, go to the next splitter

Ctrl+Shift+Tab, go to the previous splitter

[refactoring]

Ctrl+Alt+Shift+T, pop-up refactoring menu

Shift+F6, renaming

F6, move

F5, copy

Alt+Delete, secure deletion

Ctrl+Alt+N, inline

[find]

Ctrl+F, findin

Ctrl+R, replacement

F3, find the next one

Shift+F3, find the previous

Ctrl+Shift+F, looking in the path

Ctrl+Shift+R, replacing in path

Ctrl+Shift+S, search structure

Ctrl+Shift+M, replace the structure

Alt+F7, find usage

Ctrl+Alt+F7, display usage

Ctrl+F7, looking for usage in the file

Ctrl+Shift+F7, highlighting usage in a file

[VCS]

Alt+~,VCS Action menu

Ctrl+K, commit changes

Ctrl+T, update the project

Ctrl+Alt+Shift+D, showing changes

At this point, the study of "what are the shortcut keys for Intellij IDEA" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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: 277

*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

Internet Technology

Wechat

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

12
Report