[TxMt] Re: Bundle -> Menu Actions -> ???

Robert Milton robert.gomez.milton at gmail.com
Wed May 13 13:08:02 UTC 2015


Thanks guys,
That sorted it. I’ve payed with this by opening the relevant files in Xcode (for the uuids) and editing info.plist in the same. I learned from markdown.tmbudle/info.plist (thanks Michael). 

I’m using Xcode for this bit because TextMate just tells me the bundle is already installed when I try opening any of its contents from Finder. This works fine for me, but please alert me if I’m being dumb about it.

For what it’s worth I am playing with my own nascent Pandoc bundle. I’m afraid to say that I have shamelessly purloined the markdown bundle grammar as the starting point for this (thanks again Michael…please tell me if this is NOT OK). I’m doing it partly ‘cos I kinda like Pandoc, and partly to learn some of this TextMate bundle stuff. I wouldn’t call it a serious project at the moment, and I certainly don’t envisage having the stamina or professionalism to deal with anything other than plain vanilla, invoked without options, pandoc.

Any tips gratefully welcome…other than reading Matt Neuberg’s excellent TextMate Grammar article, which I am already doing…repeatedly.

Thanks again
R

> On 13 May 2015, at 09:21, Michael Sheets <mummer at whitefalls.org> wrote:
> 
>> On May 12, 2015, at 11:45 PM, Robert Milton <robert.gomez.milton at gmail.com> wrote:
>> 
>> Can anyone tell me how to add (sub)menus in the Bundle Editor? I want to subdivide the Menu Actions in my bundle into manageable chunks. How to add dividers to a menu would be a bonus.
>> 
>> Unfortunately, a search of the usual suspects hasn’t gleaned me anything relevant to TextMate 2.
> 
> This hasn’t been exposed in the bundle editor yet so it has to be done manually by editing the info.plist file of the bundle directly. It involves describing the layout with the UUID of each item of the menu, you can get an example by looking at a bundle that has a menu and copying the basic format.
> 
> If you’d like I would be happy to do the layout for you, just email me the bundle and layout desired directly to me rather than the list. If you’d like some help doing it yourself drop by the IRC chatroom and msg me (Infininight).
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list