Copy link to clipboard
Copied
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
coldfusion_comment.csn
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>
<insertText location="afterSelection"><![CDATA[ --->]]>
</insertText>
</snippet>
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.
Copy link to clipboard
Copied
Thanks for sharing your hack.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Thank you for this. I cannot fathom what goes through Adobe's mind when they make these terrible decisions. They take perfectly good products and make them worse. It's clear that their developers aren't using Dreamweaver or they would have known not to take that out.
Copy link to clipboard
Copied
Here's another solution I've found that people might find a bit easier.
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.