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.
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.
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.