[SVN] Naming snippets/commands/etc.
Allan Odgaard
allan at macromates.com
Tue Jan 25 13:00:04 UTC 2005
With the new bundle editor it should no longer be necessary to include
the language name in the name of the snippet/command/etc.
Also, I generally put the tab-trigger in parenthesis after the name (if
the item has such a trigger).
It should be possible to do a svn co in ~/Library/AppSupport/TextMate,
edit the names/ordering from within TM and then simply checkin the
changes (since TM will preserve filenames).
The ordering of items is btw kept in the bundles info.plist.
Note that when you change the name of an item, a new version will be
written to disk, and that'll be in XML (can be converted to old-style
plist with the 'pl' command), and thus all comments are lost.
If you want to have comments in e.g. the syntax file and want to avoid
these being lost, add a new key to the file, like 'comment' and place
the comment inside this.
More information about the textmate-dev
mailing list