Thank you again Tim Bates! I finally understood what you meant and managed to fix the menu. https://github.com/fonnesbeck/knitr.tmbundle/pull/2Cheers,LeoOn Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres <lcollado@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.htmlGoing 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,LeonardoPS 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@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@github.com:lcolladotor/knitr.tmbundle.gitNote 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.tmbundleThe 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,LeonardoLeonardo Collado Torres, PhD studentDepartment of Biostatistics
Johns Hopkins UniversityBloomberg School of Public Health