15 Useful Shortcuts to Code Faster with Visual Studio

preview_player
Показать описание
Speed up your programming with Visual Studio shortcuts and build your Unity game faster. Rename, move lines, refactor to a method, format file, collapse to definition, find all references, and more!

Support the Channel!
**********************

Video Gear List (Amazon Affiliate)
***********************************

Other Links
************

Timestamps
*************
0:00 Intro
0:23 Cut Entire Line
0:51 Comment & UnComment
1:17 Add Line Above & Below
1:55 Rename (Anything)
3:07 Go To Definition
3:39 Find All References
4:26 Refactor to Method
5:30 Move Code Up/Down
6:09 Format Document
6:42 Surround with Snippet
7:17 Collapse Class to Definitions
7:49 Organize Using Statements
8:23 Quick Fix (Add Methods)
9:46 Solution Explorer
10:51 Unity Project Explorer
11:40 Change Clothes & Unshave

#GameDevelopment #programming #visualstudio
Рекомендации по теме
Комментарии
Автор

This is the most useful 12 minutes I've watched in a long time. Thank you for making this video!

Catalyst
Автор

The code generator text like prop, ctor, for, foreach, etc with the Tab+Tab is often overlooked but super useful.

Vastlee
Автор

1:03 to select multiple lines, it is more convenient to hold the LMB (left mouse button) and select line numbers on the left side of the lines (works in all IDEs)

yummybunny
Автор

As someone who has been coding for 20 years, these shortcuts are very valuable. Keep them in a notebook, notepad, OneNote, etc. These will help you and don't worry about not remembering every single little trick. No one knows everything or can remember everything even if you use them on a daily basis. I'm also sure there are more than listed here but either way, this is very helpful to everyone coding. Get in those practices and habits. It will save you time and probably money in the long run.

kristophsams
Автор

Your video is so so helpful! You doing fantastic work on editing videos. It is so nice and easy to understand. The video that is divided into parts is so powerful. I came back already 4 times to find a shortcut - and it was so easily! Big Thanks!

work
Автор

Great video! Thanks for all the great tips.

To clarify: It's not necessary to press CTRL twice. Just hold it. The rest are sequential.
CTRL + K + C

Rovsau
Автор

Awesome! All the good "cuts" in one place!

linzenmeyer
Автор

Wow you are really changing the way I approach coding, thanks!

hawkgamedev
Автор

Awesome stuff! It always baffles me how fast you can make a workflow change!

DeeTasticGaming
Автор

search to class or file in vs use CTRL + ;
it opens explorer in search field and you can start typing the class name
Thanks, very useful video!

trul
Автор

that was the most useful video for the year, thanks a lot

fdai
Автор

Plenty of these that I haven't even thought about. Thanks!

Another useful one is holding Alt while clicking and dragging to edit multiple lines at once. For example changing a group of private variable to public, or making the all static. Works with cut and paste too

nikescar
Автор

- Great. I learned about the new line above and below from this video, and now I will use it a lot.
- About comments, I use the toggle command. "Ctrl + Shift + ;" or "Ctrl + K, Ctrl + ;". About renaming I use F2.

smartboybr
Автор

Instead of f12 to jump to definition you can cntrl + left click on the instance. Thanks for the video, had no idea about the latter half on the video. Cheers.

Atezian
Автор

Thanks for the video
I also find CTRL + ALT + LMB and ALT + SHIFT + ARROW UP / DOWN very useful to add multi-carets for typing the same thing on multiple lines.

ahmedyousry
Автор

Wow! It was really useful time! Thanks!

oleksandrshvets
Автор

Very helpful video for visual studio, thanks for your help tips

programerbahar
Автор

Find all references! Holy crap I needed that tip thanks

Betruet
Автор

Amazing should have known these 20 years ago, this is a great use for layer 3 on my corne....

DigitalNomadOnFIRE
Автор

Some brains don't work like others.
Control-R, Control-M
I get HOW we get here, but WOW.
Control-Refactor, Control-Method
MUCH easier to remember.

micaiahstevens