Search
Monday, December 10, 2018 ..:: Home ::.. Register  Login
   Calendar  
     
  
   Search  
     
  
   Blogroll  
     
  
   Disclosure  
All blog entries are the opinions of the author and do not necessarily reflect the opinions of their employer. All the code presented is for explanation and demonstration purposes only. Any damages incurred to your site and/or data are not the responsibility of the author. Every effort is taken to ensure the code properly compiles, however sometimes there are some hiccups and you might be required to do your own debugging.
     
  
   TechTidBits (Blog)  

Using VS2012? Opening files but cannot see their tabs? Preview Tabs Feature

Dec 13

Written by:
Thursday, December 13, 2012 11:01 PM  RssIcon

clip_image001Recently installed VS2012?  Opening your project/solution and bouncing around your files?  You SEE The code, but you don’t see the tab on the top left anymore?  Read on to help explain (and maybe exploit) this cool new feature (yup, feature Open-mouthed smile).

If you’re bouncing around code in VS2012, you’ve probably noticed something missing!  Open a file, then do an F12/Goto Definition on a class that’s not defined in your current code file.  Now, look up to the top left.  Do you see the tab?  No eh?  Cool!  Ya, THAT’S good!  That’s the feature I want to talk to you about.

image

First off, yup, the feature’s called Preview Tab, and it’s over on the top right of your screen.

image

If you bounce around again, you’ll notice you only the one tab on the top right.  This helps to keep the precious top row of tabs as clean as possible.  In VS2010, you would have had three tabs on the top, and it quickly gets overwhelming!  But with VS2012, this doesn’t happen.  The reason it’s a “feature” is cause it helps you focus on what you want to do, go looking at the code. 

If you want to edit that file, THEN it’ll bounce over to the top left cause now you’re editing it.  Oooooooooooooooooooor you could choose to force it to STAY on the top left, maybe you want to revisit for future references without editing it?  Cool there are a few ways to do that, but as D’Arcy will laugh at me, the QUICKEST way is the CTRL+ALT+Home shortcut!  Another way is to double click the top, or if you’re a “mouser” click the icon that looks like a small computer with an arrow pointing to it.  Another way is the first way you learned earlier, click and make a change to the file.

Now that you know where to look for your files when you open them, and you know what that new little computer with arrow button is for, it’s time to grab a coffee and get coding!

 

Resources
MSDN: Visual Studio 2012 New Features: Preview Tab by zainnab

Tags:
Categories:
Location: Blogs Parent Separator TechTidBits

4 comment(s) so far...


Gravatar

Re: Using VS2012? Opening files but cannot see their tabs? Preview Tabs Feature

Featured on the Visual Studio Feeds blog. COOL! Thanks.
visualstudiofeeds.com/index.php?option=com_content&view=article&id=27360%3AUsing+VS2012%3F+Opening+files+but+cannot+see+their+tabs%3F+Preview+Tabs+Feature&catid=359%3Apeter-henrys-techtidbits-blog-techtidbits&Itemid=54&utm_source=dlvr.it&utm_medium=twitter

By Peter Henry on   Friday, December 14, 2012 10:53 AM
Gravatar

Re: Using VS2012? Opening files but cannot see their tabs? Preview Tabs Feature

Also featured on Jason Haley's Interesting Feeds blog too! Thank you!
jasonhaley.com/blog/post/2012/12/14/Interesting-Finds-December-14-2012.aspx

By Peter Henry on   Friday, December 14, 2012 10:54 AM
Gravatar

Re: Using VS2012? Opening files but cannot see their tabs? Preview Tabs Feature

You can disable that behavior. Check my blog post and scroll to File Preview
lajak.wordpress.com/2013/01/06/visual-studio-2012-tips-and-tricks/

By ahmed on   Friday, January 11, 2013 2:55 AM
Gravatar

Re: Using VS2012? Opening files but cannot see their tabs? Preview Tabs Feature

Very cool ahmed! Thank you for your comment and link to your blog article! Sweet, many more tips'n'tricks there too! Thanks.

By Peter Henry on   Friday, January 11, 2013 10:33 AM

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
     
  
Copyright 1999-2012 by PCHenry.com   Terms Of Use  Privacy Statement