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)

Frustrated using the Tabs at the top of Visual Studio after opening files?

As you open up files for viewing/editing, they're added to the tabs to the right of the current one. Well after opening a few, ok, more than a few, they start to drop off out of view! :< It can be frustrating cause chances are the files you're looking at only once in a while are already in your face on the left, but the ones you REALLY want are gone! Sara's got a fantastic registry trick to fix that! The trick forces all the most recently used (MRU) files to the far left, therefore the more recent the file is, the further to the left it is.

If you just want the reg key, here it is.

Under the HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0 key, you can create a DWORD UseMRUDocOrdering = 1