4 Replies Latest reply on Apr 14, 2017 4:06 PM by redtimmy

    Create Wrapped Snippets Hack but still no keyboard support

    Z Gibson Level 1

      So they took away our ability to make wrapped snippets.  Terrible terrible idea.  But here's how you can still create one under Dreamweaver 2017


      In windows go to C:\Users\[YOURUSERNAMEHERE]\AppData\Roaming\Adobe\Dreamweaver CC 2017\en_US\Configuration\Snippets


      There you will find a folder full of your personal snippets.  Create a new file here.  Let's say you want a wrapped snippet for coldfusion comments.  Let's name the file




      Then put the following in the file:


      <?xml version="1.0" encoding="utf-8"?>

      <snippet name="coldfusion comment" description="" preview="code" type="wrap">

      <insertText location="beforeSelection">

      <![CDATA[<!--- ]]>


      <insertText location="afterSelection"><![CDATA[ --->]]>




      There you go.  You will have to re-start dreamweaver to get it to see the new file.


      But please please Adobe, I need my keyboard shortcuts!!  This right here is an excellent example why.  I can highlight a bunch of text on the page and push a few buttons and boom... commented out in coldfusion.  Now you've forced me to open a tab and double click something every time.  Extremely annoying.