Customizing Dreamweaver > Changing the default file type |
Changing the default file type
By default, Dreamweaver shows all the file types it recognizes in the File > Open dialog box. You can use a pop-up menu in that dialog box to limit the display to certain types of files. If most of your work involves a specific file type (such as ASP files), you can change the default display. Whatever file type is listed on the first line of Dreamweaver's Extensions.txt file becomes the default.
Note: If you want to see all file types in the File > Open dialog box, even the files Dreamweaver can't open, you must select All Files (*.*). This is different from All Documents, which shows only the files Dreamweaver can open.
To change Dreamweaver's default File > Open file type:
1 | Make a backup copy of the Extensions.txt file in the Configuration folder. |
2 | Open Extensions.txt in Dreamweaver or in a text editor. |
3 | Cut the line corresponding to the new default, and paste it at the beginning of the file, to make it the first line of the file. |
4 | Save the file, quit Dreamweaver, and start Dreamweaver again. |
To see the new default, select File > Open and look at the pop-up menu of file types. | |
To add new file types to the menu in the File > Open dialog box:
1 | Make a backup copy of the Extensions.txt file in the Configuration folder. |
2 | Open Extensions.txt in Dreamweaver or a text editor. |
3 | Add a new line for each new file type. In capital letters, enter the file name extensions that the new file type can have, separated by commas; then add a colon and a brief descriptive phrase to show in the pop-up menu for file types that appears in the File > Open dialog box. For example, for JPEG files, enter the following: |
JPG,JPEG,JFIF:JPEG Image Files |
|
4 | Save the file, quit Dreamweaver, and start Dreamweaver again. |
To see the changes, select File > Open and click the pop-up menu of file types. | |