I can't find instructions on how to install bundles on the Textmate site, and this project doens't have any either.
I've put the downloaded folder is such a way to have:
/Users/joachim/Library/Application\ Support/TextMate/Bundles/psynaptic-php-drupal.tmbundle-0d64d4e/Commands
and reloaded bundles in TM. Should I see a Drupal menu item? I don't.
Comments
Comment #1
shrop commentedInstructions are here: http://github.com/psynaptic/php-drupal.tmbundle
I wonder if you need to remove "-0d64d4e" from the file name so TextMate see the .tmbundle extension? Try that and then quit and restart TextMate.
Comment #2
psynaptic commentedYep, that's a bit of an idiosyncrasy of github I'm afraid. You need to rename the bundle so it has .tmbundle extension. Instructions should probably have something about this.
Comment #3
joachim commentedYeah the readme on github doesn't have any installation instructions...
Comment #4
tnanek commentedNot sure if this should go here or what, but using git:
By the instructions on Bundles here
I entered the following lines in my terminal:
Then either start TextMate, or go to Bundles --> Bundle Editor --> Reload Bundles, and it should be working. To test, in any php file, type drupal and hit tab, it should autocomplete to drupal_get_path('module', 'module');
I'd also advise reading through the readme text available on the github project page, for that suggests adding certain shell variables.
--EDIT--
And by the way, the code on the end of the file is an identifier for git; that essentially is telling it what version to download, that won't be on the actual file ultimately if gotten through git.
Comment #5
texas-bronius commentedI followed #4 above (wow, that's a lot of Ninja), I tab-complete "drupal" as my test and get:
Of course, ctrl-H does not have instructions...
I neglected to add shell variables per "Installation Instructions" in the original README/instructions, and now it works!
Comment #6
psynaptic commentedI took what was mentioned in this issue and improved the documentation. You can find the latest information on the GitHub project page or from within the help file (accessible via ⌃+H in the bundle).
Sorry it took so long, the bundle is getting a lot of love at the moment. Pull to get all the new features.