Share Code Snippets with others
Copy link to clipboard
Copied
Main request: Would love to be able to share specific folders of code snippets with my team.
Sub request: If changes are done to those shared snippets of code, have the ability for the team to update their versions.
Copy link to clipboard
Copied
The custom Snippets folder can be found on your computer at...
C > Users > (your username) > AppData (must turn on hidden folders to see this) > Roaming > Adobe > Dreamweaver (version) > (your language) > Configuration > Snippets
It is in the same location in CC 2017.
All you need to do is copy and paste and you're golden.
Copy link to clipboard
Copied
I think what shiritu32073307 might be requesting is for an easier way to do it, like as an additional library asset to share. Finding your folder, finding the folder of all your teammates and then copying and pasting it every time you change and want to share a snippet becomes tedious and slows down the pipeline of a job. Even with creating alias' of the appropriate snippet folders (and if they retain their link across the network - which has never worked for me). It might seem trivial, but every second helps when you have Bosszilla breathing down your neck. !
Copy link to clipboard
Copied
Yep, they were.
Don't get me wrong, I agree with everything you, and the OP, say.
Since there is no current option available within the program interface, I figured I'd provide one that does exactly what the OPs "Main request" described, albeit a bit more slowly than a single-click button.
You've taken care of the "sub request" of having the ability to update them if needed, by storing the "main" copies on a shared file server then overwriting the local copies with the master versions. Again, slower than a single button click, but definitely workable on a stable server/network.
But yeah, some kind of click to export/click to import would be slick.
Copy link to clipboard
Copied
Ya, it's true, even an import/export function would be better than the current way
Copy link to clipboard
Copied
A perfect example of a good mesh of Git and CC Libraries... Preran​ ​
Make sure to press "✔ Correct Answer" on this post if this answers your question. Happy Creating!
Anissa • @anissat
Copy link to clipboard
Copied
Hi,
Below link might be helpful to you
Learn how to reuse code in Dreamweaver with the Snippets panel
Thanks
Copy link to clipboard
Copied
well, I just read the @dmfriend_art comment, I would add that the choice to use a library may be interesting for Adobe Dreamweaver's cloud users, but let's not forget that we are talking about code... and not all coders in a team use Dreamweaver to code... but can use any code editor, including code editors that are external to Adobe Creative Cloud... so using a Adobe internal librairie can become counterproductive.
the snippet bank must be accessible and modifiable from a simple shared folder and this from any editor. because coder's can develop snippet from outside Dreamweaver
Copy link to clipboard
Copied
good point, Birnou. I hadn't thought of that (my team and I only use DW when editing our code).
Copy link to clipboard
Copied
We use GIST to keep snippets in one central point & there are a few clients out there like GISTO for Windows that help. We might be in the minority but would really like the ability to pull GISTS into Dreamweaver, I know there are a few GIST entensions for Brackets but we haven't explored whether it may be possible to get them working in Dreamweaver.

