The Dreamweaver code editor can be used to edit other kinds of code other than the default markup languages (HTML, XML, XHTML, ASP, CFM, and so on), although you won’t be able to display those files in Design view or use the Preview in Browser feature to view them.
Macintosh users should be aware that unlike many other Mac programs, Dreamweaver/Mac uses filename extensions to determine file types. A file created in Dreamweaver may even display on your desktop with the DW icon, and the program still won’t be able to open or preview it if it doesn’t include the proper extension.