After 8 years using TextMate 1.x and a couple of years of reading about TextMate 2, a new Mac and a move to Mavericks (from Lion) have prompted me to migrate my work to TextMate 2
Upgrades always bring surprises and shock to my workflow --- I have a couple of queries about bundle management in TextMate 2
(1) In some standard bundles in TextMate 1, I moved items from Excluded Items to the Menu Structure --- for example in the LaTeX bundle, I moved BibDesk Completion to the Menu Structure and added the Key Equivalent of Ctrl+Cmd+B --- in the TextMate 2 Bundles Editor there does not appear to be a way to move an item from Other Actions to Menu Actions nor to edit the groups, separators or move items around --- have I missed something obvious here ?
(2) I have a number of personal bundles for snippets in HTML, LaTeX, Haskell and Text --- using the guidance in https://github.com/textmate/textmate/wiki/FAQ I placed symbolic links to my bundle files in ~/Library/Application Support/Avian/Bundles --- to activate them I had to delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary (there was no BundleIndex.plist) --- I there no way in the interface to force a reloading of bundles ? (I use symbolic links to my bundles so that any edits get automatically synchronised to my other machines)
Apologies if this has been covered elsewhere --- I have done the usual searches.
Many thanks for an excellent editing environment
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Phil Molyneux E: molyneux@pobox.com T: 020 8549 0045 M: 07885 426 323 71 Deacon Road, Kingston upon Thames KT2 6LS, UK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On 25 Jun 2014, at 09:35, Phil Molyneux molyneux@pobox.com wrote:
After 8 years using TextMate 1.x and a couple of years of reading about TextMate 2, a new Mac and a move to Mavericks (from Lion) have prompted me to migrate my work to TextMate 2
Welcome to the future! You’ll like it.
(1) in the TextMate 2 Bundles Editor there does not appear to be a way to move items, edit groups or separators --- have I missed something obvious here ?
Editing is possible, but only manually, directing modifying the .plist This is not hard, but is not for beginners. I believe Allan will be adding UI editing once TM2 is deemed fixed enough to let creating a final UI for bundles rise up the todo list.
We’d all love to see it now :-)
(2) I have a number of personal bundles for snippets in HTML, LaTeX, Haskell and Text --- using the guidance in https://github.com/textmate/textmate/wiki/FAQ I placed symbolic links to my bundle files in ~/Library/Application Support/Avian/Bundles --- to activate them I had to delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary (there was no BundleIndex.plist) --- I there no way in the interface to force a reloading of bundles ?
I place my personal bundles under git (hub and bitbucket) control, and synch them across machines that way.
That way, they live in “~/Library/Application Support/Avian/Bundles/*.tmbundle like they should
On Jun 25, 2014, at 9:43 AM, Tim Bates timothy.c.bates@gmail.com wrote:
(1) in the TextMate 2 Bundles Editor there does not appear to be a way to move items, edit groups or separators --- have I missed something obvious here ?
Editing is possible, but only manually, directing modifying the .plist This is not hard, but is not for beginners. I believe Allan will be adding UI editing once TM2 is deemed fixed enough to let creating a final UI for bundles rise up the todo list.
Another possibility is to keep your copy of TM1, and continue to use that for certain bundle-editing operations (e.g., moving items, separators, etc.).
-- Phil
On 25 Jun 2014, at 15:35, Phil Molyneux wrote:
(2) I have a number of personal bundles for snippets in HTML, LaTeX, Haskell and Text --- using the guidance in https://github.com/textmate/textmate/wiki/FAQ I placed symbolic links to my bundle files in ~/Library/Application Support/Avian/Bundles --- to activate them I had to delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary (there was no BundleIndex.plist) --- I there no way in the interface to force a reloading of bundles ? (I use symbolic links to my bundles so that any edits get automatically synchronised to my other machines)
Under normal circumstances TextMate will pick up changes automatically, hence why there is no option to reload (other than deleting BundlesIndex.binary and relaunching).
The mechanism to detect changes rely on fs-events and unfortunately we have learned that fs-events does not work for all users. If you find that your changes does not appear (after sync) then it would seem your system is affected as well.
I keep hoping that Apple will fix the issue, because I would rather not start to poll the file system (now that we actually have an API to avoid it). It seems a simpler way to force a reload might be required, but ideally the user should not have to manually do these things…