Auto collapse SVG tags (or other tags) to clean up HTML structure

I am usong SVG for icons and logos in the my HTML. I know Dreamweaver CC allow collapsing of code sections highlited, but I would like to be able to set a setting to auto collapse certain tags to help make the HTML more readable. Is there and option/script/extension to do this?
I dislike how "Apply Source Formatting" will expand collapsed sections, requiring you to go re-collapse them manually.

As far as I've ever seen, there's nowhere in DW where you could set something like that. Aside from hitting Ctrl + Shift + J while anywhere within the tag to collapse it, I think you're stuck.
It would be a nice addition to the Tag Library Editor.
Here is the official bug report/feature request form: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Similar Messages

  • Auto Highlight Closing Tags

    I recently upgraded my Mac and reinstalled the Adobe suite. Since working with Dreamweaver on my new maching I've realised that the code view no longer auto highlights closing tags (eg; divs, lists etc). On my old setup I simply clicked on a tag and it would automatically identify/highlight the close tag.
    I'm aware of the process of highlighting parent tags etc manually. But it used to happen auto? There doesn't seem to be any specific option for this in the 'Highlighting' preferences either?
    Any suggestions people?
    Thanks in advance!!!

    I don't recall DW ever doing this.  Mine doesn't.   Perhaps you had installed a 3rd party extension that provided this feature?
    Nancy O.

  • Does DW cs4 do a good job at collapsing xml tags

    hello;
    I use DW8; I have never been able to get it to collapse xml tags; but now I am doing a lot of xml and it is becoming an issue of effecient workflow;
    does DWcs4 do a good job managing tag-collapse related authoring; for instance, does DWcs4 have something like "collapse all tags" or "cullapse current tag"?
    thanks,
    Shannon

    David,
    I seem to be struggling to "collapse full tag";
    I have tried several scenarios of selecting tags in code view, where an opening tag looks like <blah a="aa" b="bb>:
    - placing my cursor within a tag
    - highlighting a tag's name
    - highlighting all text within a tag
    - highlighting the entire tag
    - highlighting the opening tag all the way to the closing tag
    but each time I get a beep from dreamweaver, implying that I am not doing something right ...
    I would think that this would be a no-brainer, but ...

  • ID Panels pref auto collapse deletes extra pages

    Hi all -
    ID 5.0.2 on 10.5.3.
    Today I tried turning on auto collapse in the Interface->panels prefs.
    Later, when trying to delete a single page, I found that it would delete a spread instead. This would only happen if there were objects on the page, as I would have to leave the panel to click on the 'Are you sure' dialog.
    This happens when clicking the trash, or dragging the page. It also happens on intel and ppc versions. I had no problems deleting a spread.
    Thought I'd mention this, as I didn't see anything on the interwebs or this forum about it, and I lost a number of pages to this bug before I noticed.
    J

    You can have that.
    1. Make sure the pages palette is on your second monitor, free floating.
    2. When the panels collapse (usually after pressing tab), the page panel disappears. Choose it again from the windows menu. After that, it should stay visible while the others auto-collapse.
    Teus

  • JSP tag for reducing the html output

    Hello,
    I was wondering if there was a jsp tag that reduce the html output of the jsps. I have tried trimfilter the idea is great but at my project filters should be a subclass of one class that i cant edit.
    Thanks for all advices.

    Instead of this<html>
         <body>
              Hello World
              <!--Some html comment-->
         </body>
    </html>This would be better.<html><body>Hello World</body></html>Edited by: mehmetcadirci on Jul 17, 2010 1:19 PM

  • Spacebar-alt to have auto pop auto collapse HUD of tool relevant adjustment sliders

    spacebar allows me to drag the document around, right next to it, as an option I`d like to see spacebar-alt for an instant pop up dialogue or heads up display, over the mouse for tool specific adjustments, (right now its "enter")
    but I`d like to see it as "auto collapse", so as soon as I let go of alt and just use the spacebar to move the image around the pop up with sliders disappears,
    the pop would have sliders for dynamic update to stroke size, transparency, lightmode, all as dynamic live update sliders except for lightmodes (drop down) on the popup, for pencil, brushes, erasor,
    for warp tools, individual stroke size, pressure and angle sliders, intensity, detail, simplify,
    For symbols, diameter, intensity, symbol set density sliders.
    why I like it
    more intuitive, speed up and increase work "FLOW" and focus as its all right there at where your focusing and working.
    not having to open dialogues and click drop downs or enter numbers.
    the pop up HUD would be semi transparent except for the sliders and number values to see the dynamic live update results below of the selected object.
    also a check box option on the pop up for live update of selected object or objects below,  or not update selected object

    pencil tool,
    hud:
    pencil tool is something I use a LOT for obvious reasons, but pressing enter to open the dialogue box takes me away from my visualization and flow, its like slowing down for a road bump.
    with the HUD using spacebar alt, it would be provide a smoother non intrusive adjustment to settings for my user experience, as I use the pen tablet and the space bar on the keyboard to pan around, so my hand is already on the spacebar, just using my "pinky" little finger with "alt" and other on spacebar can activate HUD and adjust fidelity, smoothness and "edit selected paths", I use these 3 a LOT when drawing depending on what phase of the drawing I`m in and what part, what kind of lines I am creating... would make the drawing experience less "start stop" and feel more just gliding as I make adjustments with alt spacebar to settings.
    if you have used Zbrush from pixologic you will know what I mean by adjusting tools with HUD pop up sliders, and theirs doesnt seem to bring the computer to a grinding halt like when I use the colour picker HUD in photoshop with openGL..

  • Problem with DOCTYPE tag in the index.html for flex file

    When I have the following !DOCTYPE tag in the index.html file I use to load the flex swf file(s) both FireFox and Orical browsers both become horizontally shortened.  When the tag removed everything works fine.  Given that the !DOCTYPE tag is necessary for good html I'd really like to know what's going on.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Good info on that site about HTML, unfortunatly it had nothing new for me.  I did double check and everything and I was doing things the way they recomend.
    I'm really bothered that this is happening.  The DOCTYPE tag should be used and it should not have this effect when added to the HTML generated by the Flex Builder.  Additionally the new Flash Builder does have the DOCTYPE tag in its generated HTML and this is very worrisome.

  • CS6 Illustrator panel auto-collapses when expanding a different panel

    Hi,
    Can anyone explain how to stop a panel from auto-collapsing when expanding other group panels?
    For example: if I have 'layers' panel expanded and I click the 'color' panel, the 'layers' panel collapses to icon. (I have disabled 'Auto-Collapse Iconic Panels' but it still doesn't allow me to have 2 different panels expanded at the same time)
    Thanks

    Double click on the green square and the dialoge box will come up. If you double click on the red square it will just make the name of the layer editable in the pallette. I hope this helps.

  • TS1398 phone not auto joining wifi at home other iphones are ok though any ideas anyone

    help plz,   iphone 4 not auto joining wifi network @ home, other iphones in house are joining with no probs can anyone help????

    hi, if dilbert41's answer didn't work, try pressing on the little bleu arrow next to your wifi name in settings>wi-fi, then press forget this network, then press your wifi name again and type ur password, then check again that 'ask to join networks' is turned off in the bottom of the wi-fi page, and it should normally work

  • What's Happening?? Some days after installing latest security up date for 10.5.8 on G4, both inernal CD/DVD drives failed to mount disks other than a cleaning disk which mounted and was imported into iTunes.No other CD or DVD disk will mount.

    What's Happening?? Some days after installing latest security update for 10.5.8 on G4, both inernal CD/DVD drives failed to mount disks other than a cleaning disk which mounted and was imported into iTunes. No other CD or DVD disk will mount.Is this a unique experience?

    Hello Robert,
    First, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, test if things work OK in Safe Mode.
    Then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    Reboot & test.
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • When we send our iphone in reparation we have not a phone to wait the other one is clean?

    When we send our iphone in reparation we have not a phone to wait the other one is clean?

    Depends upon where you send your iPhone for reparation, er - repair.  Apple does not perform repairs, and you'll get a refurbished product in exchange, immedicately.  Depending upon your warranty status, the exchange may or may not be free.  If you choose to take your iPhone in for service to a third-party repair service - there's no reason why anyone wou;d do this - you'll need to ask about a loaner.

  • Let Auto-Map in Transform work with COLLAPSED nodes/tags ?

    When I open for a "Transform" activity the mapping editor and drag one complextype from one side to another on the other side then Auto-Mapping only works if the node/tag trees on both elements/sides are full expanded.
    If they are collapsed then auto-map does (currently) not work.
    Is there a way (option) to tell JDeveloper to look INSIDE collapsed nodes/trees and to auto-map the elements anyway?
    Peter

    Hi,
    Have you checked if the "outside" ACL is getting hitcounts?
    Could also be usefull to check the logs through ASDM monitoring and see what happens when you attempt the connection.
    The NAT configurations seem correct to me.
    Have you tried to test the connections by briefly allowing all traffic from outside? (Since the only place people could connect to is the forwarded ports.) Have you tried to add the current DHCP IP of "outside" to the ACL and see if it makes any difference?
    If no configuration change makes a difference I would suggest using the ASDM monitoring to take logs of what happens.
    You could also use the "packet-tracer" command
    Format is
    packet-tracer input outside tcp
    And copy/paste the output here.
    - Jouni

  • Auto-Discovery of Tag Libraries

    Has anyone of you got the auto-discovery thing of tlds running? Well, i have problems with it.
    My tld resides in the WEB-INF directory and contains the following:
    <taglib>
    <tlib-version>1.0 EA2</tlib-version>
    <jsp-version>1.2</jsp-version>
    <uri>/test-taglib</uri>
    </taglib>
    -[eof]---------------------------------------
    And the jsp page contains the following.
    <%@ taglib uri="/test-taglib" prefix="test" %>
    <test:getActive/>
    -[eof]---------------------------------------
    The same thing in XML sytax (Sun calls this JSP document :o).
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:bmw="urn:jsptld:/test-taglib" version="1.2">
    <test:getActive/>
    </jsp:root>
    -[eof]---------------------------------------
    In both cases Tomcat 4.01 reports an error, when i try to invoke the jsp: org.apache.jasper.JasperException: File "/test-taglib" not found
    Am i missing something?
    regards,
    dani3l

    Do i need to package my tag handler in a jar file?no.
    If
    i put the full qualified uri in the jsp file like
    this
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:bmw="urn:jsptld:/WEB-INF/bmw-taglib.tld"
    version="1.2">
    it works perfectly, but i don't want to hard-code my
    tld path in the jsp files or in the web.xml.you have two options:
    1. you do not put anything about the taglib into web.xml. then you must use the path to the tld as URI. the path is relative to the root of the application. i think in your case you would have to use "/WEB-INF/bmw-taglib.tld" as URI and not "/test-taglib".
    2. you introduce the taglib in the web.xml and then you are free what URI you use.
    The specification in section JSP7.4.3 ("Implict Map
    Entries from TLDs") sais, that an <uri> tag in the tld
    is sufficient and a corresponding entry in the web.xml
    is generated automatically.yes, option 1.
    robert

  • Dreamweaver does not auto-complete /script tag

    Dremaweaver CS5 Version 11.0 Build 4993 - does not close script tag. I type <script> include the text then type </   and the Script tag is NOT closed.
    When I type </  the script tag should complete and close automatically.
    So, for example:
    <script type="text/javascript" language="javascript">
    function closeThisWindow() {
         window.close();
    </
    I have to type </script>  because it does not auto-complete.
    Thanks,
    Don.

    Good morning all,
    Ok, Jon, thank you. I've not used a lot of </ within the scripts that I've written so, so far, that hasn't been a problem for me. Your explanation makes sense though. It also explains why it works if you select the option to:  close after typing the opening tag's ">". Because once the opening and closing tags have been populated, entering </ would have no effect on the scripot tag at all.
    Very nice response Jon. This behavior is crystal clear now and in fact, it seems to be a feature, not a bug.
    Thank you,
    Don.

Maybe you are looking for

  • Multiple Users need (maintenance) access to a customized table.

    Hi Gurus We created a z table and maintained couple of values in it The _attributes _ are as follows: Delivery Class : A (Application table (master and transaction data) Table Maintenance : Display and Maintenance allowed ISSUE : This table does not

  • Im trying to download an attachment from my email account, the name of the file is renamed to "securedownload".

    firefox is changing the name of my attachment file to "securedownload" when im trying to download it. I disabled all add-ons but no change. With internet explorer i can download the file as it is. I have also scan my laptop for virus and it is clean

  • MSI Media Center III

    I just read that the MSI Media Center III os bundled with the Mega180 Barebone. Has anyone informations about this software? Is it better than the MSI Media Center II and can it be used with a Mega651 Barebone? thx

  • Very slow insert and query

    Dear Professionals: The insert and query become very slow and somtimes hang. It wasn't like this before .. Network people added 100 pc to the network .. most of them not using the databse only internet and we are all in the same network .. Can this s

  • Always/Only 72dpi ?????

    I recently bought a Sony H5 7.2 MP camera to which iPhoto happily wakes up and imports pictures flawlessly - they look great too but I'm having a bit of confusion here. My pics are taken in the FINE resolution mode with a width of 3072 pixels and a h