10 March 2010 0 Comments

Reuse the Same Editor Window When Opening Files

Versions Supported:  2008,2010 Menu Command:  Tools -> Options -> Environment -> Documents Tip Code:  vstipEdit0027   Normally, when you open up a new document it creates a new tab but you can just have the file open up in the current tab instead.  Let me illustrate:   Default (before):   Default (after):   But if you go to Tools -> Options -> Environment -> Documents and check the “Reuse current document window, if saved” option.  This is what happens:   Before:   After:   The caveat here is you have to have a “clean” (saved) document for this to work.  If the document was “dirty” (not saved) this would be the result even with this option turned on:   Before (note the asterisk to indicate the document is dirty):   After: