For anyone like me who is searching how to actually install 3rd party bundles into TM2, getting confused by the older posts here mentioning Avian folders and what not, here's my micro-summary how it currently worked for me, pretty easy, using Gerd's MultiMarkdown as an example:
1. Go to ~/Library/Application\ Support/TextMate/Managed/Bundles
2. git clone git://github.com/gknops/MultiMarkdown.tmbundle.git This creates the MultiMarkdown.tmbundle folder
3. Restart TM2 That's right, no cache deleting required, the MultiMarkdown bundle appeared both in the Bundle manager and in the list of installed bundles under Menu->Bundles. Also, the multimarkdown command (that I installed with homebrew) was automatically found and used by the bundle.
As often, this turned out to be easier than I thought. ;)
Thx everybody,
Michael
PS.: Using TM2.0-alpha.9387 on 10.8.2
On Feb 26, 2013, at 9:43 PM, K.-Michael Aye kmichael.aye@gmail.com wrote:
For anyone like me who is searching how to actually install 3rd party bundles into TM2, getting confused by the older posts here mentioning Avian folders and what not […]
Actually, the Avian folder is still where third party bundles should be installed.
So:
1. mkdir -p ~/Library/Application\ Support/Avian/Bundles 2. cd ~/Library/Application\ Support/Avian/Bundles 3. git clone git://github.com/gknops/MultiMarkdown.tmbundle.git
- Restart TM2
Normally that shouldn’t be necessary. There are a few cases, for example updating a bundle that has grammars injected into, or included by other grammars, where a relaunch is required to properly get (memory) caches flushed.
On 2013-02-26 20:57:51 +0000, Allan Odgaard said:
On Feb 26, 2013, at 9:43 PM, K.-Michael Aye kmichael.aye@gmail.com wrote:
For anyone like me who is searching how to actually install 3rd party bundles into TM2, getting confused by the older posts here mentioning Avian folders and what not [ ]
Actually, the Avian folder is still where third party bundles should be installed.
I see, as it was working I thought it's okay. But what's the worst that can happen? Disturb other bundles? Become deleted at TM2 updates or something like that?
So:
- mkdir -p ~/Library/Application\ Support/Avian/Bundles
- cd ~/Library/Application\ Support/Avian/Bundles
- git clone git://github.com/gknops/MultiMarkdown.tmbundle.git
- Restart TM2
Normally that shouldnt be necessary. There are a few cases, for example updating a bundle that has grammars injected into, or included by other grammars, where a relaunch is required to properly get (memory) caches flushed.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 2013-02-26 21:30:07 +0000, K.-Michael Aye said:
On 2013-02-26 20:57:51 +0000, Allan Odgaard said:
On Feb 26, 2013, at 9:43 PM, K.-Michael Aye> kmichael.aye@gmail.com wrote:
For anyone like me who is searching how to actually install 3rd party>> bundles into TM2, getting confused by the older posts here mentioning>> Avian folders and what not [ ]
Actually, the Avian folder is still where third party bundles should be> installed.
I see, as it was working I thought it's okay. But what's the worst thatcan happen? Disturb other bundles? Become deleted at TM2 updates orsomething like that?
So:
- mkdir -p ~/Library/Application\ Support/Avian/Bundles
- cd ~/Library/Application\ Support/Avian/Bundles
- git clone git://github.com/gknops/MultiMarkdown.tmbundle.git
I also just realized that this way it does not get registered in the Bundle Manager in the Preferences?
- Restart TM2
Normally that shouldnt be necessary. There are a few cases, for> example updating a bundle that has grammars injected into, or included> by other grammars, where a relaunch is required to properly get> (memory) caches flushed.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Feb 26, 2013, at 10:30 PM, K.-Michael Aye kmichael.aye@gmail.com wrote:
Actually, the Avian folder is still where third party bundles should be installed.
I see, as it was working I thought it's okay. But what's the worst that can happen? Disturb other bundles? Become deleted at TM2 updates or something like that?
Right now TextMate will do something like log an error about an unexpected bundle and try to match it up with a bundle in the index because it thinks that the local index is corrupt (e.g. crash after installing bundle but before updating local index).
I also just realized that this way it does not get registered in the Bundle Manager in the Preferences?
Which it shouldn’t — in the future the bundle management is likely to be improved to explicitly list managed, third party, and custom bundles, additionally which of the first two have local changes, with some new options like ability to revert local changes, re-apply a customizations to a git clone, etc. — such functionality is dependent on the user not fooling TextMate into thinking third party bundles are managed or similar.