Current location - Quotes Website - Personality signature - IDEA shortcut key disassembly series (8): reconstruction
IDEA shortcut key disassembly series (8): reconstruction
This is the eighth article in the disassembly series of IDEA shortcut keys.

? The following is a disassembly introduction to the Refactor navigation item and its sub-items, among which the bold option is considered more important by bloggers.

reconsitution

Refactoring this (refactoring the current) Ctrl+Alt+Shift+T

Rename Shift+F6

Rename file

Change the signature (modify the signatures of methods and classes, including parameters, return value types, etc.). )Ctrl+F6

Type migration Ctrl+Shift+F6.

Make Static (Add Static Keyword)

Convert to Instance Method (Convert to Instance Method)

Move F6

Copy F5

Safe deletion (safe deletion, which can be deleted quickly on the method) Alt+Delete.

Extract (extract)

Variable Ctrl+Alt+V

Constant Ctrl+Alt+C

Field (class field) Ctrl+Alt+F

Parameter Ctrl+Alt+p

Function parameters Ctrl+Alt+Shift+P

Parameter object

Method ctrl+alt+m

Type parameter

Method object

represent

interface

Superclass

Sub-query ad CTE

Inline (call converted to inline and method chain form) Ctrl+Alt+N

Find and replace duplicate codes

Inverted Boolean value

Pull the members up.

Push members down

Push ITDs into

Use interfaces whenever possible.

Replace inheritance with delegation

Remote middleman

Wrapper method return value

Convert anonymous to internal

Encapsulated field (encapsulated word terminal used to generate Getter/Setter)

Replace temporary with query

Replace constructors with factory methods.

Replace the constructor with the constructor.

generalize

move

Lombok (Lombok plug-in: adding)

Default @ date

Default @Getter

Default @Setter

Default @EqualsAndHashcode

Default @ToString

@Log (with friends)

Delombok (Lombok plug-in: deleted)

All lombok comments

@ Data

@ value

@ wither

@ Agent

@Builder

@ constructor

@Getter

@Setter

@EqualsAndHashcode

@ToString

@Log (with friends)

Internationalization (internationalization)