VS TnT #10: fastest way to get to code or UI designer
Nov
24
Written by:
Wednesday, November 24, 2010 8:36 PM
Ever want to JUST open the code? Or just flip over to the designer right then and there? Read on for the next TnT!
Tip'n'Trick: Get to your code, then your UI designer, then to your code then do your designer in an instant!
Shortcut: F7 or SHIFT+F7
Da "Peter" version (aka, ya, da verbose one)
When you want to just fix that bug in code, or make a change in a form, do you goto Solution Explorer and double click the file, then realize it opened it up in the wrong view (Designer let's say), then you right mouse click the exact same file then pick View Code? Ya, I used to that too! DOH! There is a faster and more direct way!

Did you notice the F7 and the Shift+F7 on the right? Those are the keyboard shortcuts you can use to open the file without having to right mouse click the file. Ya, that's right, next time you use the express route to goto your Solution Explorer, you can then hit either F7 or SHIFT+F7, depending on your task.
I personally LOVE these two little shortcuts and use them ALL THE TIME! I use these shortcuts in conjunction with the Close All and Close All But Me shortcuts too to help me navigate through my code.
Ok now that you know how to focus in on your code, it's time to grab a coffee and get coding!
Resources
PCHenry.com: VS TnT #8: Taking the express to your Solution Explorer
PCHenry.com: VS TnT #7: Fastest draw in the west, how to kill any/all open windows in VS!
2 comment(s) so far...
Re: VS TnT #10: fastest way to get to code or UI designer
I use F7 quite often but I never use the designer only markup, is there a short cut to got to markup or where can I assign a shortcut as I cant find the command in the keybord dialog
By Eugene Niemand on
Sunday, November 28, 2010 11:10 AM
|
Re: VS TnT #10: fastest way to get to code or UI designer
Hi Eugene, I'm sorry I'm a but confused about what you're asking. Do you mean the HTML? If that's what you mean try the CTRL+PgUp or PgDwn, I think that's what you're looking for. More over, there's settings in Tools,Options, HTML Designer that might interest you.
Does that help? I forgot about the CTRL+PgUp and PgDwn, that's another TnT! Thanks! Have a great week and thank you for commenting.
PS If that's NOT what you were asking, please ask again and I'll try again. We'll figure it out (hopefully over enough coffee LOL).
By phenry on
Sunday, November 28, 2010 9:14 PM
|