Search in CakePHP.org TextMate command
Posted by primeminister | Filed under Cake-Toppings
I’ve setup a Google custom search engine that will search in the cakephp.org domain. So this will include API, Tests, Trac and of course The Book.
When you search you have refinements at the top of the search results that gives you easy access to the subparts of cakephp.org
And because TextMate is my favorite Editor I added a command in there that will search any selected word in that custom search engine. Now I have all the sources for that keyword at my hand.
Download the command, unzip it and double-click to install. I added ctrl-shift-s to that command as a shortkey.
Cheers!
Update: As there was already a custom search for CakePHP related sites I added another command to search in there. So two commands: One to search only in the cakephp.org domain (with refinements) and one to search also in other cakephp sites. Download!
October 7th, 2008 at 12:00
http://groups.google.com/group/cake-php/web/listed-websites-on-custom-google-search-engine-for-cakephp
October 7th, 2008 at 13:06
@truster: Of course! I should have searched for this before I made one myself…. Thnx for the link.
Although for me it is nice to have a custom search only on the cakephp.org domain. Especially in TextMate.
p.s. it is a bit outdated because even teknoid and the book isn’t in there…
October 7th, 2008 at 14:17
Did you check the TextMate bundle for CakePHP ? It provides a direct search in the API amongst other helpers.
October 7th, 2008 at 15:22
@Guillaume: yeah, but not the whole cakephp.org domain.
October 7th, 2008 at 15:54
yes, of course. I’ll give a try to your command, thanks!
October 13th, 2008 at 04:54
Nice nice, might give this a try soon.
October 18th, 2008 at 15:33
I’m sorry, but how it should work in TM? When I hit the shortcut (ctrl-shift-s) and enter the keyword nothing happens.
October 19th, 2008 at 09:20
@depi: I changed the shortcut to ctrl-shift-H because the ‘S’ I used for subversion commands.
Try to set you own keyboard shortcut. Look into the manual and search for ‘command shortcut’
January 15th, 2009 at 12:44
Hi
I could not get this to work in textmate. It is installed OK and when in some cake source (scope) I select a keyword like input and then hit the shortcut (ctrl shift S , as I use the first zip)
But nothing then happens. Shouldnt it open a page in FFox / browser?