Here are two ways you can share snippet groups with your team. If everyone uses Dropbox and you'd like for everyone to edit the group, see Case #1. If the team lead can use Dropbox or a web server and others need not edit the group, see Case #2.


Note: If you hide TextExpander in your Dock, you'll need to access the menu commands from the "+" or gear menus beneath the snippet list.


Case #1: Everyone uses Dropbox; Everyone can edit the Group

Steps for the team lead:
Create a "Shared Snippets" folder within your Dropbox folder, or use an existing shared folder.
In TextExpander, select the snippet group you wish to share, then choose Save a Copy of Group "X"… from the File menu, and save the snippet group to the desired location on Dropbox.
On www.dropbox.com, use the web interface to share the "Shared Snippets" folder from step 1 with everyone on your team.
Return to TextExpander and delete the group you just saved to avoid duplicating it later.

Steps for everyone, including the team lead:
Accept Dropbox's shared folder invitation so that the "Shared Snippets" folder will appear in your Dropbox folder.
Choose Add Group from File… from the File menu and navigate to the group file inside the "Shared Snippets" folder in your Dropbox folder. Make sure "Import as editable local copy" is NOT checked. Click Open.
Once the shared group has been added, select it and choose the Update: frequency. Dropbox will handle syncing the file to your machine, and this setting will handle picking up the changed file.

How to make changes to the shared group:
Select the group in TextExpander's snippet list and duplicate it using Command-D or Duplicate from the Edit menu. This will create a copy of your group.
Make changes to the newly copied group -- add, edit, and/or remove snippets.
Choose Save a Copy of Group "X"… from the File menu and save over the existing group file by using the same name and allowing replacement when prompted.
Select the original group and click Update Now. Your changes should appear. You may now delete the copied group from step 1.
Other people on your team can either click Update Now, perhaps prompted by an email, or their group will be updated at the next interval.

 

Case #2: Team leader is only editor of group

Steps for the team lead:
In TextExpander, select the snippet group you wish to share, then choose Save a Copy of Group "X"… from the File menu. Do not use spaces in the name (i.e. use "MyGroup.textexpander" rather than "My Group.textexpander"). Save the snippet group to your Desktop.
Put the file saved in step 1 on a web server where everyone in the team can access it:
Dropbox: Put the file into your Dropbox / Public folder, then go to the Finder and control-click the file and choose Copy Public Link from the popup menu. A URL will be placed on your clipboard like: http://dl.dropbox.com/u/1234567/MyGroup.textexpander.
Intranet / own server: Put the file in a suitable location on your web server and note the URL.
Send the group URL to everyone on the team along with the instructions below.
Optional: As team lead, you can keep the group as is if you plan to update the snippets frequently. If you are not going to update the shared snippets frequently, you can avoid making changes accidentally by deleting the shared snippet group you created and linking to the group by following the steps for team members below.

Steps for the rest of the team:
Choose Add Group from URL… from the File menu and paste in the group URL.
Once the new group has been added, select it and choose an Update: frequency. This tells TextExpander to automatically reload the group at the specified frequency.
How to change or update the group:
If you, the team lead, deleted your copy earlier, make a new one: Select the group in TextExpander's snippet list and duplicate it using Command-D or Duplicate from the Edit menu.

Make changes to the group -- add, edit, and/or remove snippets.
Choose Save a Copy of Group "X"… from the File menu, and replace the existing group file.
If you, the team lead, deleted your copy earlier: Select the original group and click Update Now. Your changes should appear. You may now delete the copied group from step 1.
Other people on your team can either click Update Now, perhaps prompted by an email, or their group will be updated at the next interval.

  • No labels