10 Essential Keyboard Shortcuts For Programmers

preview_player
Показать описание
As a programmer we spend most of our day in front of a computer, and the majority of that time is spent in our favorite editor/IDE. Because of this, it is crucial that we are as efficient as possible in our editor of choice. This is where keyboard shortcuts come in. Knowing the proper keyboard shortcuts for each situation will save you time and make programming more enjoyable. In this video I will be going over the 10 most commonly used keyboard shortcuts that every programmer should know.

If you feel I missed any shortcuts please let me know down in the comments below.

[0:00] - Introduction
01. [01:45] - (Ctrl + C) Copy/(Ctrl + X) Cut/(Ctrl + V) Paste Whole Lines
02. [02:44] - (Ctrl + /) Toggle Comment on Highlighted Lines
03. [03:29] - (Ctrl + P) Open File Within Project By Name
04. [04:00] - (Ctrl + F) Find In File, (Ctrl + Shift + F) Find In Project
05. [04:51] - (Tab) Indent Highlighted Lines, (Shift + Tab) Unindent Highlighted Lines
06. [05:20] - (Ctrl + N) Create New File
07. [05:36] - (Ctrl + Enter) Create New Line Below Current Line Independent of Cursor Position
08. [06:10] - (Ctrl + Left/Right Arrow) Move Cursor Whole Words At A Time
09. [06:45] - (Shift + Left/Right Arrow) Highlight Characters With Arrow Keys
10. [07:04] - (Ctrl + S) Save File, (Ctrl + A) Select All, (Ctrl + Z) Undo, (Ctrl + Shift + Z)/(Ctrl + Y) Redo
08:47 - Recap of all Shortcuts

Twitter:

GitHub:

CodePen:

#KeyboardShortcuts #Programming #VSCode
Рекомендации по теме
Комментарии
Автор

Thanks for watching. Let me know if you have any shortcuts that you use everyday that I left out.

WebDevSimplified
Автор

Shift + Delete = delete full line. Very nice one

vibonacci
Автор

ctrl+shift+ L = change all same names at the same time instead doing copy-paste *vscode*

ask
Автор

I have been looking for this specific information for years. Almost every tutorial coding video assumes you know this information/shortcuts. That has been my biggest frustration with learning how to code. Thank you so much!

stevecarr
Автор

I've seen a bunch of people use these shortcuts in their tutorials, and they never explain it.. I was specifically looking for these ones, and this is the first one I found actually explaining it. So thank you

JaveGeddes
Автор

cmd+enter is a life saver. I bought a whole keyboard just for the End key when I want to do this function. This is so useful. Thanks

rauldeandrade
Автор

Traversing selected word forward -> Ctrl + F3
Traversing the selected word backwards -> Ctrl + Shift + F3
These shortcuts save a ton of time for quickly going through the code to find next and previous occurences of variables.

ibrahimshaikh
Автор

Great video, Kyle (as always) - thank you for sharing!

mannymorales
Автор

Awesome video. Thanks for sharing these shortcuts!

ethanblackthorn
Автор

literally love the comment shortcut. I was definitely one of those guys that painstakingly added slashes to each and every line. At my first internship in college, my mentor showed me the comment shortcut and and I was like “what sorcery is this!! D:<“.

Honestly I feel like shortcuts are like a huge step to being really efficient when developing.

Thanks for making this. Really well put together and super clear explanations. :)

JakeCodes
Автор

short and crisp, excellent video brother thanks

nileshtiwari
Автор

*The best shortcut:*
To delete/replace the same word (for example "print")

Ctrl+F (type the word to find all equal words)

Alt + enter (click delete or type something to replace it)

inescadete
Автор

Thanks for the shortcuts, and for your videos in general! I didn't know about CTRL + Enter.
Here I leave just a few that I also use every day, the problem is that I use a mac...
So I'm also pasting the Command name, this way, it can be searched for windows or other keyboards languages:

ctrl + J = Join Lines
cmd + ] = Indent Line (like tab without selection)
cmd + [ = Outdent Line (like shift + tab without selection)
cmd + shift + K = editor.action.deleteLines

Автор

Excellent Video that deserves more views/likes. Keep up the great work!

dyepber
Автор

ctrl + L = highlight whole current line
shift + Alt + up/down arrow = make copy of highlighted line

BilliK
Автор

thanks for the Video dude ctrl enter ist actually a life saver man

Milka-brxw
Автор

thank you so much man ! you gonna save my life

abderrahmaneadam
Автор

ctrl + w to close the selected file
ctrl + tab to switch between files

That's what I discovered myself, hope that's helpful.

sayedrenaq
Автор

Great video! I didn't know most of these!

BASTMDE
Автор

thanks a lot man that was very helpful

abdulrahmanahmad