[JAVA] [Eclipse] 5 carefully selected shortcuts that even beginners should remember first [Mac]

There are various shortcuts, but first master the ones that are insanely frequent, and then gradually increase the number.

First 5

Shortcut Description
Command + D Delete line
option + ↑ ↓ Move line by line (multiple lines allowed)
command + / Comment out
control +. Word completion
option + command + R Simultaneous editing of the same variable name (refactoring)

Well, if I get used to this much and my fingers move freely, I personally think that it is good to choose the next shortcut and practice.

** Comment out ** seems to be assigned the same shortcut key in most editors.

I think that ** delete lines ** are often the same, but I wonder if VS Code is different. .. ..

I think that ** move line by line ** is the same for other editors.

** Even if you practice a lot suddenly, you will think about it, so let's go next after you can unconsciously use the number of one hand! ** **

Shortcut keys aren't something to think about.

Reduce typo with word completion

Personally, there are many typos in variable names, so I think it's better to use the completion function even for short variable names, rather than searching for somewhere after the error occurs.

Shortcut Description
control +. Word completion
option + command + R Simultaneous editing of the same variable name (refactoring)

In VS Code, refactoring was fun with command + D, and since it was also in the state of being selected, it was easy to change the variable name entirely or add it to the end. It's hard to press option. I think I'll change the assignment of the hey shortcut. By the way, a list of shortcuts will be displayed with command + shift + L! !!

I believe that development will be faster in the sense of "reducing mistakes" rather than "striking fast", so this is convenient enough.

If there is something that feels like "I'm tired" or "I want to make it easier because this is quite frequent", I'm sure a shortcut will come out if I google

Even if the practice stage is troublesome, I think it will be faster to learn if you write it yourself. And while writing a lot, if there is something like "Troublesome this", I think that shortcuts are usually assigned or there are plugins.

Practice earnestly until you reach that level. Not greedy. Isogaba Maware.

Recommended Posts

[Eclipse] 5 carefully selected shortcuts that even beginners should remember first [Mac]
11 Eclipse shortcuts that impressed programmers in their first year of graduation
JSP + Eclipse + Jetty development environment construction that even Java beginners can do