Skip to main content
Participating Frequently
March 8, 2017
Question

Convert tags to lowercase

  • March 8, 2017
  • 6 replies
  • 5579 views

In previous versions of DW, in code view, you could select all, right click, choose Selection/Convert tags to lowercase. That is not available in DW CC even though the manual gives that as the instruction on page 390. I've reported this to software engineers but does anyone know of a way to convert tags to lowercase besides individually in the tag library? Thanks.

    This topic has been closed for replies.

    6 replies

    Inspiring
    March 7, 2020

    In Windows, these options still exist in the registry.  I have used these setting up to DW 2020.  Below are settings for DW 2020, change the year for other versions.

     

    [HKEY_CURRENT_USER\SOFTWARE\Adobe\Dreamweaver 2020\Source Format]

    "Tags Upper Case"="FALSE"

    "Force Tag Case"="TRUE"

    "Attrs Upper Case"="FALSE"
    "Force Attr Case"="TRUE"

     

    These settings will convert all tags/attributes to lower case when a file is opened.  It usually works but I have seen files where not all tags/attributes were converted.

     

    NOTE: This does not save the file with the changed tags/attributes.  You have to change the file and save in order for it to be kept.

     

    Known Participant
    March 31, 2020

    Thank you for this! But what file am I looking for to change this? I don't see a file or folder called Source Format.

    Nancy OShea
    Community Expert
    Community Expert
    March 31, 2020

    Show hidden files & folders in your OS's File Manager.

     

     

    Nancy O'Shea— Product User & Community Expert
    Legend
    March 6, 2019
    Paul-M - Community Expert
    Inspiring
    March 6, 2019

    Voted, thank you for your help.

    Legend
    March 6, 2019

    You are welcome ... My approach at the moment is to have both Dreamweaver CC 2015 and Dreamweaver CC 2019 installed together ... and if I need to use the apply source formatting tool I'll quickly open the file(s) in Dreamweaver CC 2015 to do that .....

    The next release of Dreamweaver should fix a lot of issues with the apply source formatting tool, hopefully they'll manaage to put the global setting for upper/lowercase tags back in too (fingers crossed)

    Paul-M - Community Expert
    Legend
    March 6, 2019

    OK ... I tested in the latest pre-release of Dreamweaver and the 'apply source formatting' tool DOES convert tags to lowercase or uppercase depending on your settings in tag libraries, so it seems this has been fixed in the next release

    However I still don't see a way to set a global default for upper or lowercase tags? Which presumbaly means you have to set case of each tag individually in tag libraries as the setting 'default' seems to do nothing? The seems a bit tedious.

    So unless I'm mistaken you'll have to install CC 2015 to do this for now ....

    Paul-M - Community Expert
    Legend
    March 5, 2019

    As far as I can see, Dreamweaver CC 2015 Is the last verion to have the convert case of tags feature, since CC 2017 when Brackets was integrated its been lost and also there's no option to select the default case of tags in edit > preferences > code format either from CC 2017 onwards.

    Does apply source formatting work and convert tags to lowercase if you have it set in Tag libraries? It does NOT when I tested in CC 2019 (Windows 10).

    Paul-M - Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    March 6, 2019

    You're right.  It's broken.

    Something is missing from the Format Code panel.

    If you attempt to make lowercase the default in Tag Library Editor, a warning message pops up directing users back to the Format Code panel.    !!!????

    Nancy O'Shea— Product User & Community Expert
    Legend
    March 6, 2019

    Yep the Dreamweaver pre release at least fixes the formatting of tags to upper/lowecase but you have set case of EACH tag one by one in tag libraries as they've never restored the global option that used to be there in CC 2015.

    Paul-M - Community Expert
    Jon Fritz
    Community Expert
    Community Expert
    March 8, 2017

    It appears the option to convert tags to upper/lower case has been removed from the context menu all together. I can't find any documentation on it though, most other menu changes are documented by Adobe here:

    Redesigned menus

    Unfortunately, the option Paula points to will affect ALL selected text, not just the tags that may need to be corrected within a large block of code, potentially leading to a huge number of selections being made in a single document.

    This would be a good candidate for "a feature returning to the program". I know I'd up vote it at Help > Submit Bug/Feature Request if you start a new thread there.

    Participating Frequently
    March 8, 2017

    Yes, I've already reported it as a bug and I really need it available in the contextual menu again. The DW CC manual still has the instructions to do it like I've always done it but it is not listed in the menu.

    Nancy OShea
    Community Expert
    Community Expert
    March 8, 2017

    Unfortunately, the user guides have not been updated for CC 2017 yet.  Most of the available info is for previous versions.

    Nancy O'Shea— Product User & Community Expert
    pziecina
    Legend
    March 8, 2017

    Select the text to convert -

    Select - Edit - Text - convert to lower case.

    Participating Frequently
    March 8, 2017

    Just want to convert tags to lowercase, not text. Let me know if you have ideas on that.

    Inspiring
    July 13, 2022

    I have the same problem