Home > Sample chapters > Programming > Visual Studio and .NET

Working with Documents in Microsoft Visual Studio

04.02 Recent Files

WINDOWS

Alt,W, [1,2,3, etc] (windows);

Alt,F, F, [1,2,3, etc] (files);

Alt,F, J, [1,2,3, etc] (projects and solutions)

MENU

Tools | Options | General | Recent files;

Window | [1,2,3, etc]; File | Recent Files | [1,2,3, etc];

File | Recent Projects and Solutions | [1,2,3, etc]

COMMAND

Tools.Options

VERSIONS

2005, 2008, 2010

CODE

vstipEnv0013

By default, the Window menu shows the 10 most recent files you had open, as shown in the illustration to the right.

Likewise, the Recent Files and Recent Projects And Solutions items on the File menu show only the last 20 entries.

httpatomoreillycomsourcemspimages899190.png

You can easily modify these numbers (up or down) by going to Tools | Options | General | Recent files.

httpatomoreillycomsourcemspimages899192.png

For each of these options, the minimum value is 1 and the maximum value is 24. Experiment with numbers that suit your taste.