First off, Adobe Dreamweaver’s find/replace is fantastic. That and it’s integration with WinMerge are the only two reasons I still use it on occasion. Otherwise I am trying to learn Vim or hanging out in Textmate.
Problem
Ok I have been noticing for a while now that when I search that it would never look in files with custom extensions. For example, SilverStripe‘s .ss files and someone at work’s .inc files at work.
Background
I thought as I am sure many of you have tried that maybe adding that .ss file to the code view file types like in the image below.

Our Director of Systems & Technology, Alex at work ran into this same problem so I though I would post it to their forum as there was no reference in the forum of such a problem. I spotted a TechNote page that wasn’t a direct answer to the problem but had an example that looked promising.
Solution
The file I noticed was on the TechNote was called Extensions.txt. Here is what the first line looked like.
1 | HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,AS,ASC,ASR,XML,XSL,XSD,DTD,XSLT,RSS,RDF,LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4,PHP5,JSP,WML,TPL,LASSO,JSF,VB,VBS,VTM,VTML,INC,JAVA,EDML,MASTER:All Documents |
I thought maybe if I just add the extension there someplace in CAPS the find/replace would start picking up those files and sure enough it did.
1 | SS,HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,AS,ASC,ASR,XML,XSL,XSD,DTD,XSLT,RSS,RDF,LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4,PHP5,JSP,WML,TPL,LASSO,JSF,VB,VBS,VTM,VTML,INC,JAVA,EDML,MASTER:All Documents |
Hope that helps.
Here is a list from that help page on where you will find the Extensions.txt
- Dreamweaver CS3 on Windows Vista:
C:Users[username]AppDataRoamingAdobeDreamweaver 9Configuration - Dreamweaver 8 on Windows Vista:
C:Users[username]AppDataRoamingMacromediaDreamweaver 8Configuration -
-
Dreamweaver CS3 on Windows XP:
C:Documents and Settings[username]Application DataAdobeDreamweaver 9Configuration - Dreamweaver 8 on Windows XP & 2000:
C:Documents and Settings[username]Application DataMacromediaDreamweaver 8Configuration - Dreamweaver CS3 on Mac OS X:
Mac HD:Users:[username]:Library:Application Support:Adobe:Dreamweaver 9:Configuration - Dreamweaver 8 on Mac OS X:
Mac HD:Users:[username]:Library:Application Support:Macromedia:Dreamweaver 8:Configuration
Tags: dreamweaver, editor, extensions, find and replace, search

saved me!! Thanks…
Alex
Thanks for this tip! I found that you can also add them to the bottom separately like some of the other file types, with a description (for example)
SS:Silverstrip file