Skip to main content
Participating Frequently
December 1, 2016
Answered

Snippets to wrap selection

  • December 1, 2016
  • 3 replies
  • 1738 views

In every previous version of dreamweaver you could define snippets to wrap selection.... why was that removed?  I use it alot : (

    This topic has been closed for replies.
    Correct answer Jon Fritz

    We haven't been told flat-out "why" it was removed, however I'm relatively certain it has something to do with the new Snippet Trigger Key system taking over for Snippet shortcuts. With the new Trigger Key shortcut set-up you can't have code highlighted, as you would for a wrapping snippet, or it will simply rewrite the code with your customized Trigger's text instead.

    Apparently, the dev team (or more likely, their overlords) thought the Snippet Trigger Key system was more important than the Wrapping Snippet function.

    It looks like you've already voted, but for anyone else who'd rather have the Wrapping Snippet function back, please make sure to vote here If we can get enough votes, maybe Adobe will find a way to put that extremely useful functionality back into the program.

    3 replies

    Inspiring
    April 14, 2017

    Wraparound snippets are not gone. If you select a bit of text and then click on your snippet, it will still work as before. The trouble is that wraparound snippets are no longer editable nor can they be created.

    ...or, can they?

    Here's a workaround.

    1. Download DW 2015 and open it.

    2. Add and/or Edit your snippets there.

    3. Close DW 2015.

    4. Open DW 2017.

    Your new snippets are now available in DW 2017.

    Nancy OShea
    Adobe Expert
    April 14, 2017

    Very clever.  It never occurred to me to use the older version this way.  But yeah, it's a good workaround .

    Nancy O'Shea— Product User, Community Expert & Moderator
    Jon Fritz
    Jon FritzCorrect answer
    Adobe Expert
    December 1, 2016

    We haven't been told flat-out "why" it was removed, however I'm relatively certain it has something to do with the new Snippet Trigger Key system taking over for Snippet shortcuts. With the new Trigger Key shortcut set-up you can't have code highlighted, as you would for a wrapping snippet, or it will simply rewrite the code with your customized Trigger's text instead.

    Apparently, the dev team (or more likely, their overlords) thought the Snippet Trigger Key system was more important than the Wrapping Snippet function.

    It looks like you've already voted, but for anyone else who'd rather have the Wrapping Snippet function back, please make sure to vote here If we can get enough votes, maybe Adobe will find a way to put that extremely useful functionality back into the program.

    BenPleysier
    Adobe Expert
    December 1, 2016

    This is a known issue and will come back in a next revision.

    Dreamweaver Help | Known issues | Dreamweaver CC 2017

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    aba.kt
    New Participant
    December 22, 2016

    Where on that page does it address snippets that wrap, all I see about snippets is "Mac only: You cannot insert recent snippets using Insert > Recent Snippets menu."?

    BenPleysier
    Adobe Expert
    December 22, 2016

    You are right, I should have pointed you to and get you to vote on it.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!