Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Share Code Snippets with others

New Here ,
Nov 11, 2016 Nov 11, 2016

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.

8.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 11, 2016 Nov 11, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2017 Jan 31, 2017

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. !

-dmf
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 31, 2017 Jan 31, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 31, 2017 Jan 31, 2017

Ya, it's true, even an import/export function would be better than the current way

-dmf
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 14, 2017 Jun 14, 2017

A perfect example of a good mesh of Git and CC Libraries... Preran​ ​

Hope this helps!
Make sure to press "✔ Correct Answer" on this post if this answers your question. Happy Creating!
Anissa • @anissat
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 03, 2017 Dec 03, 2017

Hi,

Below link might be helpful to you

Learn how to reuse code in Dreamweaver with the Snippets panel

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 29, 2018 Aug 29, 2018

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 08, 2019 Feb 08, 2019

good point, Birnou. I hadn't thought of that (my team and I only use DW when editing our code).

-dmf
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2019 Feb 08, 2019
LATEST

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.

Paul-M - Community Expert
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines