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 used to improve efficiency in IDEA

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

Share

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

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

Summary of various shortcut keys of IDEA

one。 Quickly generate main

Enter psvm

two。 Quickly generate System.out.print

Use sout

three。 File saving

IDEA is saved automatically, so we don't need to save it in Ctrl + S.

four。 Delete a row

Ctrl+Y

five。 New, new, added shortcut keys

Alt + lnsert

six。 Toggle java programs

Alt + right Arrow or Alt + left Arrow

seven。 Directory display and shutdown

Ctrl + Fn + F12

eight。 Running

Ctrl + Shift + F10

nine。 Prompt the parameters of the method

Ctrl + p

ten。 Toggle window

Alt + (numeric)

We can mouse over the window button to see the shortcut key number.

eleven。 Find

Introduction to shortcut keys

Find in Ctrl + F current file

Shift + Ctrl + F find in the current project

Shift + Shift Quick search

Ctrl + N find Class

Ctrl + Shift + N find files

Ctrl + Shift + Alt + N find Symbol (method name)

twelve。 Jump switch

Introduction to shortcut keys

Ctrl + E recent Files

Ctrl + Tab switch files

Ctrl + Alt + arrow keys where to jump the history cursor

Ctrl + G Jump specified Line number

Finally, we can customize or modify the shortcut keys, File- > Settings- > Keymap

thirteen。 Edit related

Introduction to shortcut keys

Ctrl + W Quick Select

Alt + up and down arrow keys method to quickly jump

Ctrl + Alt + Enter inserts a row before the current row

Shift + Enter inserts a row after the current row

fourteen。 Read the source code

Introduction to shortcut keys

Parameter hints of Ctrl + P method

Ctrl + Shift + left and right arrow keys move the window split line

The hierarchical relation of Ctrl + H class

Add:

Introduction to shortcut keys

F2 quickly locate the file error location

Ctrl+E 's most recent file

Ctrl+Alt+Enter

Insert a row before the current row

Shift+Enter adds a line below the current line

Ctrl+Alt+O automatically deletes unused import

Ctrl+Alt+T shortcut code block try catch, etc.

Alt+ mouse selection column selection mode, select by column

Alt+7 lists all the methods of the current column

Ctrl+Alt+V

Extract the code and extract the method parameters as variables

Then the method call passes in the newly generated variable

Ctrl+Alt+P extracts the content into the parameters of the method in which it belongs

Ctrl+Alt+C extracts the content into constants

Ctrl+Alt+M extraction method to extract the selected code into the method

Ctrl+W selects the word, line, block, etc., where the cursor is located

The Ctrl+Alt+ left cursor returns to the last edited position

At this point, the study of "what are the shortcut keys used to improve efficiency in 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: 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