Using VS2012? Opening files but cannot see their tabs? Preview Tabs Feature
Thursday, December 13, 2012 11:01 PM
Recently 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 ).
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.
First off, yup, the feature’s called Preview Tab, and it’s over on the top right of your screen.
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!
MSDN: Visual Studio 2012 New Features: Preview Tab by zainnab