[TxMt] Re: Stuck trying to get all the commands from a bundle to show in the menu
Tim Bates
timothy.c.bates at gmail.com
Thu Feb 20 18:15:07 UTC 2014
That’s great Leo!
PS: I have a markdown bundle which include R fencing and other stuff like table reformatting and other enhancements from Dr Drang
It is by now irrevocably out of synch with the default bundle.
It might be worth all of us (Matt N? others?) who are keen on markdown/knitr/R) to coalesce around one fork of the markdown.tmbundle and get a really kick ass version that can perhaps be used to reboot the default markdown.tmbundle
explore mine here: github.com/tbates/markdown.tmbundle
But happy to learn if others are doing cool(er) stuff.
best, tim
On 20 Feb 2014, at 11:00, Leonardo Collado Torres <lcollado at jhsph.edu> wrote:
> Thank you again Tim Bates! I finally understood what you meant and managed to fix the menu. https://github.com/fonnesbeck/knitr.tmbundle/pull/2
>
> Cheers,
> Leo
>
>
> On Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres <lcollado at jhsph.edu> wrote:
> Hello again,
>
> Thank you for the replies! I'm sorry, but I had disabled emails from this list and forgotten about it. But hopefully, this reply will still connect to the thread http://lists.macromates.com/textmate/2014-February/037121.html
>
>
> Going back to the issue at hand, if I understood your reply correctly you are suggesting starting over. Which from looking at https://github.com/fonnesbeck/knitr.tmbundle/commits/master it would basically involve the commits by fonneseck from June 21, 2012 on forward.
>
>
> As for uuid's on the plist that are not on the bundle, I tried finding all of those that were only on the plist and removing them as described earlier (use https://gist.github.com/lcolladotor/9077862) but that didn't work out either.
>
>
> Thank you,
> Leonardo
>
> PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate R markdown files: https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 Once the knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how to get a full R + textmate + knitr setup.
>
>
>
>
> On Tue, Feb 18, 2014 at 2:26 PM, Leonardo Collado Torres <lcollado at jhsph.edu> wrote:
> Hello Textmate list,
>
> I am trying to understand why the knitr.tmbundle is not showing all the commands in the bundle menu as shown below:
>
> <Screen Shot 2014-02-18 at 12.17.36 PM.png>
>
> It's missing a few commands there, such as "Knit in R". You can try it out yourself by installing it:
>
> $ cd ~/Library/Application Support/Avian/Bundles
> $ git clone git at github.com:lcolladotor/knitr.tmbundle.git
>
> Note that https://github.com/lcolladotor/knitr.tmbundle is forked from https://github.com/fonnesbeck/knitr.tmbundle as I tried to fix some other minor issues (uuid conflicts with SWeave bundle, ^< shortcut for "insert code chunk" macro). The original repo is https://github.com/textmate/sweave.tmbundle
>
> The menu is incomplete regardless of whether the SWeave bundle is installed or not.
>
> I tried playing around with the .plist file after reading http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-textmate-2 leading to https://gist.github.com/9077862 but that didn't work either.
>
> Any tips on how to fix the menu will be greatly appreciated! Right now the only thing that comes to mind is using the Bundle creator GUI and re-making the commands, but that sounds like the last option to take.
>
>
> I'm using TextMate 2.0-alpha.9503 on a Mac with OS X 10.8.5.
>
> Thank you,
> Leonardo
>
> Leonardo Collado Torres, PhD student
> Department of Biostatistics
> Johns Hopkins University
> Bloomberg School of Public Health
> Website: http://www.biostat.jhsph.edu/~lcollado/
> Blog: http://lcolladotor.github.io/
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140220/d6c6bd7c/attachment.html>
More information about the textmate
mailing list