Home >Java >JavaBase >What are the shortcut keys for IDEA?

What are the shortcut keys for IDEA?

醉折花枝作酒筹
醉折花枝作酒筹forward
2021-05-06 09:45:332019browse

This article will introduce you to the shortcut keys of IDEA. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

What are the shortcut keys for IDEA?

Quickly generate main

Enter psvm

What are the shortcut keys for IDEA?
What are the shortcut keys for IDEA?

Quickly generate System.out.print

Use soout

What are the shortcut keys for IDEA?
What are the shortcut keys for IDEA?

to save the file

IDEA is automatically saved and does not require us to Ctrl S to save.

Delete a line

Ctrl Y

What are the shortcut keys for IDEA?
What are the shortcut keys for IDEA?

Add new, create new , added shortcut key

Alt lnsert

What are the shortcut keys for IDEA?

Switch java program

Alt right arrow or Alt left arrow

Directory display and closing

Ctrl Fn F12
What are the shortcut keys for IDEA?

What are the shortcut keys for IDEA?

Run

Ctrl Shift F10

Prompt method parameters

Ctrl p

What are the shortcut keys for IDEA?

Switch window

Alt (number)

What are the shortcut keys for IDEA?
We can place the mouse on the window button to view the shortcut key numbers.


Extension:

Find

##Shortcut keysIntroductionCtrl FFind in the current fileShift Ctrl FIn the current project Search inShift ShiftQuick searchCtrl NFind ClassCtrl Shift NFind fileCtrl Shift Alt NFind Symbol (method name)

Jump switch

Shortcut keysIntroductionCtrl ERecent filesCtrl TabSwitch filesCtrl Alt direction keyJump to the location of the history cursorCtrl GJump to the specified line number
We can also customize shortcut keys or modify shortcut keys, File–>Settings–>Keymap

Edit related

Shortcut keysIntroduction##Ctrl WAlt up and down arrow keysCtrl Alt EnterShift Enter
Quick selection
Method to jump quickly
Insert before the current line One line
Inserts one line after the current line
Read source code

Shortcut keys##Ctrl P Method parameter promptCtrl Shift left and right arrow keysMove window dividing lineCtrl HHierarchical relationship of classes Related free learning recommendations:
Introduction

java basic tutorial

The above is the detailed content of What are the shortcut keys for IDEA?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete