There are so many that they went over I will list some of the ones that stood out for me:
- Pin Data Tip. This was my favorite so I am listing it first. Not only can you pin data tips in your code, so that when you are debugging you can see the values of variables right next to the line, but the data persists between debugging sessions, so you can see the last value the variable contained.
- A lot of keyboard shortcuts shown, here are some: Alt + Drag causes a Box type selection of code. Then you can type and it will replace everything selected with whatever you are typing. Shift + F12 Find all references (this one I already knew about) then F8 to navigate through the results (this I didn't know about). CTRL + , Brings up the "Navigate To" box which is like a fuzzy logic search. CTRL + . displays the currently selected smart tag. CTRL + F10 run to cursor. CTRL + SHIFT + F10 moves the execution point up. SHIFT + ALT + F11 brings up a context menu that allows you to pick which nested method you want to step into. There were many more...
- They discussed "When Hit..." breakpoints. You can configure these to print to the output window the values of stuff rather than actually breaking the code execution.
- Oh and this one was cool: CTRL + Double-Click on a tab that you have pulled away from it's original dock, this will put the tab back to where it was originally.
- I learned that when you don't have a variable declared and you start typing sometimes it will try to be helpful and Intellisense will put something there you don't want. Well, undo (Ctrl +z) will put your text back to whatever you typed. But even better is CTRL + ALT + SPACE cause Visual Studio to run in Suggestion mode instead of Force mode.
- Here another one that will come in handy since XAML doesn't support #Regions. AD Hock regions. These are basically regions you can Hide and Unhide for you current session. Select a region of code then CTRL + M, H to hide it and CTRL + M, U to unhide it.
No comments:
Post a Comment