In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "what are the commonly used shortcut keys in IntelliJ IDEA". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
List of IntelliJ Idea shortcut keys
Routine
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
Debugging part, compiling
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
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
IntelliJ IDEA usage tutorial
This is the end of the content of "what are the commonly used keyboard shortcuts in IntelliJ IDEA". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.