Caba da TI

Caba da TI

Best Eclipse shortcuts to improve productivity

Anyone who uses any software tool to perform their work knows the importance of using shortcuts that facilitate various actions in these tools. Software development is no different and I would even venture to say that shortcuts are even more necessary, due to the large number of repeated things we need to do and mainly the need for focus during the development of certain features.

Eclipse has several shortcuts that help improve productivity at work. I personally use some of them a lot and even, at least until now, I still haven’t been able to have as fluid a development experience in VS Code as I have in Eclipse, in relation to the use of shortcuts.

The list I am going to show now is not a list of all shortcuts, nor the best known or most useful ones, but just my favorites Eclipse shortcuts. These are the shortcuts that I always like to show people at work. So below is the list of my favorite Eclipse shortcuts for improve productivity.

Search for a selected word within a file

Control + K or Control + Shift + K

Search for a selected word across the entire project

Control + Alt + G

Show where a selected class, method or variable is used (Call Hierarchy)

Control + Alt + H

“Walking” across methods, jumping from one method to another

Control + Shift + Up or Control + Shift + Down

Go to the class declaration, method declaration or variable declaration

F3

Jump to the code where you were previously

Control + Left or Control + Right

Jump to last changed code

Control + Q

Move selected lines up or down

Alt + Up ou Alt + Down

Delete selected lines

Control + D

Duplicate selected lines

Control + Shift + Down

Maximize or unmaximize a window

Control + M

Automatically create a variable for a method call (you must select the method and type the shortcut)

Control + 2, L

Extract the selected code to a local variable

Control + Shift + L

Extract the selected code to a method

Control + Shift + M

Turn selected text upper case or lower case

Control + Shift + X or Control + Shift + Y

Choose a class from the list of open classes

Control + F6

Choose view (e.g: Editor, Server, Console etc.)

Control + F7

Choose perspective (e.g: Java, Debug)

Control + F8

Show class hierarchy (subclasses and superclasses)

Control + T

Extract the selected String to a constant

Alt + Shift + T, A

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *