[TxMt] Stuck trying to get all the commands from a bundle to show in the menu

Leonardo Collado Torres lcollado at jhsph.edu
Tue Feb 18 19:26:05 UTC 2014


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:

[image: Inline image 1]

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/<http://bit.ly/LColladoTorres>
Blog: http://lcolladotor.github.io/ <http://bit.ly/FellBit>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140218/6594f426/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-02-18 at 12.17.36 PM.png
Type: image/png
Size: 52302 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20140218/6594f426/attachment-0001.png>


More information about the textmate mailing list