15 Tips to Boost Your Productivity in Visual Studio

  Рет қаралды 36,624

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

Hey there! This video is all about making your life easier when you're working with Visual Studio. Dalia, a PM on the Visual Studio Team, shares some cool tricks. First off, she talks about keyboard shortcuts - they're like secret codes that help you do stuff faster. You can even customize them to your liking!
Next, she shows you how to move around your code smoothly. There's this neat feature called 'peak definition' that lets you see your code's details without having to jump back and forth.
When it comes to reading code, Dalia introduces 'sticky scroll'. It's like having a map that shows you where you are in your code, especially handy when you're dealing with big chunks of it.
Editing code? Dalia's got tips for that too. She shows you how to make Visual Studio take up your whole screen so you can focus better, and shares a few more keyboard shortcuts that make editing a breeze.
Finally, she talks about 'code cleanup'. It's like having a personal assistant that tidies up your code for you. You can even set it up to clean up every time you save your work.
So, that's the gist of it. Dalia's video is packed with handy tips to help you get more done in Visual Studio, making your coding experience even more enjoyable. Check it out!
00:00 Intro
00:19 Learn Keyboard Shortcuts
00:40 Feature Search (Ctrl+Q)
01:08 Customize Shortcuts
01:54 VS Code Shortcuts in VS
02:30 Shortcut Cheatsheet
03:24 Navigate Code Quickly
04:00 Peek Definition (Alt + F12)
04:37 Live Unit Testing
05:21 Go To Last Edit Location (Ctrl + Shift + Backspace)
05:55 Navigate backwards/forwards (Ctrl + - or Ctrl + Shift + -)
06:12 Switch Tabs (Ctrl + Tab)
06:33 Editor Menu (Alt + `)
07:04 Sticky Scroll (New Feature)
08:50 Full Screen (Alt + Shift + Enter)
09:04 Quick Action (Ctrl + .)
09:24 Multi-Select (Ctrl + Alt + Select)
10:15 Shift + Enter
10:38 Code Cleanup (Ctrl + K, Ctrl + E)
11:01 Code Cleanup on Save
Productivity Guide: learn.microsoft.com/en-us/vis...
Keyboard shortcut cheatsheet: visualstudio.microsoft.com/ke...
Sample Repo: github.com/daliasheasha/RockP...
Dalia Abo Sheasha ( / daliashea )
To learn more, please check out these resources:
aka.ms/vsblog
aka.ms/LearnVisualStudio
#VisualStudio, #Coding, #Productivity, #Programming, #DeveloperTools, #CodeEditing, #CodeCleanup, #KeyboardShortcuts, #CodeNavigation

Пікірлер: 42
@mattheweskolin327
@mattheweskolin327 Жыл бұрын
Control + Shift + Backspace is very helpful to get back to where you started
@goldmund67
@goldmund67 11 ай бұрын
Thank you Dalia. These tips are always welcome even for us veterans who have lived and died in Visual Studio since the days of InterDev!. Sometimes our workload is so intense we just don't have time to explore them all. I remember back in the day Sara Ford was the editor productivity evangelist, and I'm happy to see the mantle has been taken up again!
@DaliaAboSheasha
@DaliaAboSheasha 10 ай бұрын
Thank you so much for the kind words! I'm so glad you found the video helpful.
@N0AGI
@N0AGI 11 ай бұрын
Visual Studio rocks!! - nicely done.
@julianocs87
@julianocs87 Жыл бұрын
Great content. Never knew about this cheat sheet of shortcuts.
@imavalverde
@imavalverde 3 ай бұрын
Great tips! More of this!
@Gbtx6
@Gbtx6 3 ай бұрын
amazingly life saving tips! ty ty!
@IAmTimCorey
@IAmTimCorey Жыл бұрын
Some great tips in here!
@DaliaAboSheasha
@DaliaAboSheasha Жыл бұрын
Thanks Tim!
@simantasahu
@simantasahu Жыл бұрын
Sticky Scroll is a very useful feature. Thanks for adding it to the visual studio.😊
@DaliaAboSheasha
@DaliaAboSheasha Жыл бұрын
I'm glad you're finding it useful!
@enoa4
@enoa4 Жыл бұрын
Nice tips. Thank you.
@AhmadElkhouly
@AhmadElkhouly 7 ай бұрын
Peak definition shortcut is very cool. I've learnt something new. Thank you. PS: Dalia, it seems you're Egyptian/ of Egyptian descent. If so, then we're proud of you :D
@sanampakuwal
@sanampakuwal Жыл бұрын
Shift + Enter was new for me :)
@alideveloper6945
@alideveloper6945 Жыл бұрын
also there is Ctlr + Enter that do the same but backward.
@cai0
@cai0 5 ай бұрын
@@alideveloper6945 yes! I use ctrl+enter all the time, and didn't know about the shift..
@prashanthasp6723
@prashanthasp6723 Жыл бұрын
The new search is good. Sticky scroll is a cool feature but in visual studio even after coming out of the method scope also method definition info is showing on the top
@ethr95awd
@ethr95awd Жыл бұрын
the greatest keyboard short cut is edit.moveselectedlinesup and down - i assign alt+up and down arrow to move the current/selected line up and down
3 ай бұрын
control + t is one that I use many times to search for specific method or function or even a file
@user-yd2pk5vj3h
@user-yd2pk5vj3h Жыл бұрын
Blogger, what's the vs theme you're using?
@muchas_gracias
@muchas_gracias 8 ай бұрын
well done
@mmitza35
@mmitza35 Жыл бұрын
Would be nice to be able to bind the navigation(Ctrl + Shift + -) to the side back/forward buttons of the mouse. This was possible on VS2019 with the Mouse Navigation Extension.
@DaliaAboSheasha
@DaliaAboSheasha Жыл бұрын
That's a great suggestion! I'll add it to our list.
@akdigitalmedialive
@akdigitalmedialive Жыл бұрын
​@@DaliaAboSheashagreat video , definitely a productivity booster
@alideveloper6945
@alideveloper6945 Жыл бұрын
the problem of Full Screen (Alt + Shift + Enter) is that when open two tabs of code side by side, then when you press Alt + Shift + Enter in one of tabs to full screen it, the two tabs will full screen together. i want full just one tab. thanx
@imaginative-monkey
@imaginative-monkey Ай бұрын
Instead of Control + Shift + Backspace, I used to do Ctrl + Z, then Ctrl + Y (It's hacky, but easier to memorize)
@codymckinney4934
@codymckinney4934 4 ай бұрын
also, love the video, but can you shot the name of the shortcuts in the video as well. i cant find these shortcuts so i cant change the hotkeys. thanks!!!
@jorgetorres6628
@jorgetorres6628 Жыл бұрын
Great job, what theme are you using?
@DaliaAboSheasha
@DaliaAboSheasha Жыл бұрын
Thanks! I'm using the Dark theme (I love it). You can switch yours by going to Tools > Options > Environment > General then choosing "Dark" for your "Color Theme".
@vibes992000
@vibes992000 Ай бұрын
nice
@imaginative-monkey
@imaginative-monkey Ай бұрын
I personally prefer to turn off the "Clean up code on save" feature, because the diff will show changes that are not important or related to the commit logic.
@ErwinLlano-tz7iu
@ErwinLlano-tz7iu 3 ай бұрын
How to disable internet connection of visual studio 2022?
@ethr95awd
@ethr95awd Жыл бұрын
wordwrap is also key
@RogerFrei
@RogerFrei Жыл бұрын
Thank you very much for your useful tips. What is the name of your assistant? You know. The one with the furry nose.
@DaliaAboSheasha
@DaliaAboSheasha Жыл бұрын
Ha! I have two - the one in the video is Lucy and the other one is Ruby. They really like to make surprise appearances in videos 😊
@toby9999
@toby9999 Жыл бұрын
Great information for those with a good memory. I prefer the mouse. Keyboard shortcuts burn my brain.
@DaliaAboSheasha
@DaliaAboSheasha Жыл бұрын
That's fair. You can use whatever makes you most productive and comfortable.
@kevinmcfarlane2752
@kevinmcfarlane2752 11 ай бұрын
@@DaliaAboSheashaI’m rather like you. If I happen to be using the keyboard, I like having my next action be with the keyboard if possible. And correspondingly with the mouse. I can’t remember all keyboard shortcuts, though I did know most but not all of the ones you mention here.
@codymckinney4934
@codymckinney4934 4 ай бұрын
downfall to code clean up.. git repos show them as edited lines if you have code cleanup and the original project didnt. so FYI about that
@lawrencep4943
@lawrencep4943 Жыл бұрын
😈 Promo-SM
@user-or2ij2mq9t
@user-or2ij2mq9t 11 ай бұрын
설명을 간단히 하세요. 비영어권은 힘들어요.
@drackkeyner
@drackkeyner 2 ай бұрын
tambien para quieres hablan español
10 Time-Saving Tips in Visual Studio 2022 (with Tim Corey)
37:54
Microsoft Visual Studio
Рет қаралды 30 М.
25 VS Code Productivity Tips and Speed Hacks
11:35
Fireship
Рет қаралды 2,3 МЛН
UNO!
00:18
БРУНО
Рет қаралды 2,8 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 29 МЛН
15 Useful Shortcuts to Code Faster with Visual Studio
12:01
One Wheel Studio
Рет қаралды 36 М.
Debugging Tips and Tricks Part 1
19:36
Microsoft Visual Studio
Рет қаралды 30 М.
15 Visual Studio Editor Tips including Intellicode and EditorConfig
1:15:01
Intro to GitHub Copilot in Visual Studio
15:34
Microsoft Visual Studio
Рет қаралды 70 М.
Vim Motions for absolute beginners!!!
7:25
Dispatch
Рет қаралды 164 М.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 619 М.
Cool features in Visual Studio 2022
38:24
Microsoft Visual Studio
Рет қаралды 65 М.
Every single feature of C# in 10 minutes
9:50
Train To Code
Рет қаралды 112 М.
13 Visual Studio 2022 Tips & Tricks
11:13
Claudio Bernasconi
Рет қаралды 48 М.
My iPhone 15 pro max 😱🫣😂
0:21
Nadir Show
Рет қаралды 1,7 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 6 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 8 МЛН