1 Reply Latest reply on Jun 7, 2008 10:31 AM by Newsgroup_User

    Copy code color scheme

    DataGnostics Level 1
      I've got code coloring schemes for several document types tweaked until they're just what I like. How do I copy one (say, my .asp scheme) to a different document type? What about if the document type (.inc) is one that's not on the list at Preferences|Code Coloring?
        • 1. Re: Copy code color scheme
          Level 7
          > I've got code coloring schemes for several document types tweaked until they're
          > just what I like. How do I copy one (say, my .asp scheme) to a different
          > document type?

          There's no way to do that through the DW UI, but you can do it by
          manually editing some Configuration files.

          Start by reading this TechNote:
          http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16420

          This describes the difference between the "application" and "user"
          Configuration folders and where to find them on your system. It's best
          to edit files in the user config folder, not the *parallel* app config
          folder. You may have to first copy a file from the app config folder to
          the user config folder before you can edit it.

          Now, take a look at the Configuration/CodeColoring/Colors.xml file. You
          should find a <colorGroup> tag with one of the ASP doctypes listed with
          your changes. You can either add the new doctypes to the list, or just
          remove the doctypes attributes so that the colors apply to all doctypes.

          > What about if the document type (.inc) is one that's not on the
          > list at Preferences|Code Coloring?

          This TechNote explains how to add new file extensions:
          http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410

          HTH,
          Randy