15 Tips to Boost Your Productivity in Visual Studio

  Рет қаралды 33,445

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

Пікірлер: 40
@mattheweskolin327
@mattheweskolin327 11 ай бұрын
Control + Shift + Backspace is very helpful to get back to where you started
@goldmund67
@goldmund67 8 ай бұрын
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 7 ай бұрын
Thank you so much for the kind words! I'm so glad you found the video helpful.
@Gbtx6
@Gbtx6 27 күн бұрын
amazingly life saving tips! ty ty!
@julianocs87
@julianocs87 10 ай бұрын
Great content. Never knew about this cheat sheet of shortcuts.
@N0AGI
@N0AGI 8 ай бұрын
Visual Studio rocks!! - nicely done.
@imavalverde
@imavalverde Ай бұрын
Great tips! More of this!
@enoa4
@enoa4 9 ай бұрын
Nice tips. Thank you.
@AhmadElkhouly
@AhmadElkhouly 5 ай бұрын
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 11 ай бұрын
Shift + Enter was new for me :)
@alideveloper6945
@alideveloper6945 11 ай бұрын
also there is Ctlr + Enter that do the same but backward.
@cai0
@cai0 2 ай бұрын
@@alideveloper6945 yes! I use ctrl+enter all the time, and didn't know about the shift..
@simantasahu
@simantasahu 11 ай бұрын
Sticky Scroll is a very useful feature. Thanks for adding it to the visual studio.😊
@DaliaAboSheasha
@DaliaAboSheasha 10 ай бұрын
I'm glad you're finding it useful!
@IAmTimCorey
@IAmTimCorey 11 ай бұрын
Some great tips in here!
@DaliaAboSheasha
@DaliaAboSheasha 10 ай бұрын
Thanks Tim!
Ай бұрын
control + t is one that I use many times to search for specific method or function or even a file
@ethr95awd
@ethr95awd 10 ай бұрын
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
@prashanthasp6723
@prashanthasp6723 11 ай бұрын
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
@codymckinney4934
@codymckinney4934 Ай бұрын
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!!!
@mmitza35
@mmitza35 11 ай бұрын
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 10 ай бұрын
That's a great suggestion! I'll add it to our list.
@akdigitalmedia5214
@akdigitalmedia5214 10 ай бұрын
​@@DaliaAboSheashagreat video , definitely a productivity booster
@muchas_gracias
@muchas_gracias 6 ай бұрын
well done
@jorgetorres6628
@jorgetorres6628 11 ай бұрын
Great job, what theme are you using?
@DaliaAboSheasha
@DaliaAboSheasha 10 ай бұрын
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".
@user-yd2pk5vj3h
@user-yd2pk5vj3h 10 ай бұрын
Blogger, what's the vs theme you're using?
@alideveloper6945
@alideveloper6945 11 ай бұрын
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
@ErwinLlano-tz7iu
@ErwinLlano-tz7iu Ай бұрын
How to disable internet connection of visual studio 2022?
@RogerFrei
@RogerFrei 11 ай бұрын
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 10 ай бұрын
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 😊
@ethr95awd
@ethr95awd 10 ай бұрын
wordwrap is also key
@toby9999
@toby9999 11 ай бұрын
Great information for those with a good memory. I prefer the mouse. Keyboard shortcuts burn my brain.
@DaliaAboSheasha
@DaliaAboSheasha 10 ай бұрын
That's fair. You can use whatever makes you most productive and comfortable.
@kevinmcfarlane2752
@kevinmcfarlane2752 9 ай бұрын
@@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 Ай бұрын
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 10 ай бұрын
😈 Promo-SM
@danielhalachev4714
@danielhalachev4714 10 ай бұрын
16. Move to VS Code.
@user-or2ij2mq9t
@user-or2ij2mq9t 9 ай бұрын
설명을 간단히 하세요. 비영어권은 힘들어요.
@drackkeyner
@drackkeyner 3 күн бұрын
tambien para quieres hablan español
15 Useful Shortcuts to Code Faster with Visual Studio
12:01
One Wheel Studio
Рет қаралды 32 М.
25 VS Code Productivity Tips and Speed Hacks
11:35
Fireship
Рет қаралды 2,2 МЛН
Cute Barbie gadgets 🩷💛
01:00
TheSoul Music Family
Рет қаралды 12 МЛН
Последний Закат Кота Макса...
00:21
Глеб Рандалайнен
Рет қаралды 7 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 115 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 23 МЛН
Lecture-08| Function declaration inside definition outside in Urdu/Hindi
17:54
InfoTech with Abdul Nasir Afridi
Рет қаралды 12
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Build 2023 - Advance developer tips and tricks in Visual Studio
44:24
Microsoft Visual Studio
Рет қаралды 17 М.
Code faster with these VS Code shortcuts
8:44
Coder Coder
Рет қаралды 291 М.
13 Visual Studio 2022 Tips & Tricks
11:13
Claudio Bernasconi
Рет қаралды 45 М.
Advanced developer tips and tricks in Visual Studio | BRK253H
44:24
Microsoft Developer
Рет қаралды 16 М.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 458 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 749 М.
Measure Your Application’s Performance in .NET
12:41
Nick Chapsas
Рет қаралды 33 М.
15 Visual Studio Editor Tips including Intellicode and EditorConfig
1:15:01
iPhone green Line Issue #iphone #greenlineissue #greenline #trending
0:10
Rk Electronics Servicing Center
Рет қаралды 4,7 МЛН
Samsung vs Apple Vision Pro🤯
0:31
FilmBytes
Рет қаралды 1,3 МЛН
Very Best And Good Price Smart Phone
0:42
SDC Editing Zone 9K
Рет қаралды 216 М.
Power up all cell phones.
0:17
JL FUNNY SHORTS
Рет қаралды 44 МЛН