
58
|
Chapter 2, Master the Editor
#13 Edit the Most Recent File and Project Lists
HACK
You will need to add each of these keywords on its own line to usertype.dat,
along with any other C++ keywords you may have defined. After you create
this file and save it to the <Visual Studio Directory>\Common7\IDE direc-
tory, all the PHP language keywords will be highlighted whenever you open
a .php file in Visual Studio.
Thanks to a blogger named David Cumps for discovering this method. You
can also download a .reg file to create the registry key and a prefilled
usertype.dat file from his blog, located at http://weblogs.asp.NET/cumpsd/
archive/2004/02/22/77926.aspx.
HACK
#13
Edit the Most Recent File and Project Lists Hack #13
The list of recently used files is a good place to go back to the projects
you’ve been working with a lot. You can tweak this list to your liking and
make it even better.
Visual Studio maintains a list of the most recently opened file and project
files. Whenever you open a file or project, it is added to the top of the most
recently opened list. Visual Studio then uses the most recent file and project
lists for a number of different purposes. The first is to populate two menu
items that list the entire recent file and project lists; this is shown in
Figure 2-27.
The second use is to display recent projects on the default Visual Studio .NET
2003 start page, which is shown in Figure 2-28.
require_once ...