0017

TextMate bundle for CakePHPをインストール

TextMate bundle for CakePHPをインストール

2011.2.11

ターミナルを使い、TextMate bundle for CakePHPをインストールする方法をメモ。

基本は「TextMate bundle for CakePHP」に書かれいている内容なのですが、URLの移動に伴って、微妙に記述が違うようです。

ターミナルを開いて、以下を記述。

cd ~/Library/Application\ Support/TextMate/Bundles

移動したら、以下を記述。

svn co http://svn.textmate.org/trunk/Review/Bundles/PHP%20Cake.tmbundle

以下のように表示されて、インストールが完了。

A PHP Cake.tmbundle/Commands A PHP Cake.tmbundle/Commands/Documentation for Word.tmCommand A PHP Cake.tmbundle/Commands/Browse CakePHP source.tmCommand A PHP Cake.tmbundle/Commands/Go to Cookbook.tmCommand A PHP Cake.tmbundle/Preferences A PHP Cake.tmbundle/Preferences/Completions.plist A PHP Cake.tmbundle/Snippets A PHP Cake.tmbundle/Snippets/time.tmSnippet A PHP Cake.tmbundle/Snippets/$scripts_for_layout.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->destroy().tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::humanize(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->link(…) - Action.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->findAll(…).tmSnippet A PHP Cake.tmbundle/Snippets/if (save) { … } else { … }.tmSnippet A PHP Cake.tmbundle/Snippets/function beforeSave().tmSnippet A PHP Cake.tmbundle/Snippets/$session->flash(…).tmSnippet A PHP Cake.tmbundle/Snippets/var $belongsTo.tmSnippet A PHP Cake.tmbundle/Snippets/$html->link(…) - Controller.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->find('first', …).tmSnippet A PHP Cake.tmbundle/Snippets/$this->layout = $layout;.tmSnippet A PHP Cake.tmbundle/Snippets/$html->meta('keywords').tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->deleteAll(…).tmSnippet A PHP Cake.tmbundle/Snippets/function beforeRender().tmSnippet A PHP Cake.tmbundle/Snippets/function beforeFind().tmSnippet A PHP Cake.tmbundle/Snippets/multiple.tmSnippet A PHP Cake.tmbundle/Snippets/$this->redirect(…);.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->check(…).tmSnippet A PHP Cake.tmbundle/Snippets/decimal.tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::classify(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->findNeighbours(…).tmSnippet A PHP Cake.tmbundle/Snippets/inList.tmSnippet A PHP Cake.tmbundle/Snippets/alphaNumeric.tmSnippet A PHP Cake.tmbundle/Snippets/$form->file(…).tmSnippet A PHP Cake.tmbundle/Snippets/function afterDelete().tmSnippet A PHP Cake.tmbundle/Snippets/function beforeDelete().tmSnippet A PHP Cake.tmbundle/Snippets/function onError().tmSnippet A PHP Cake.tmbundle/Snippets/$form->checkbox(…).tmSnippet A PHP Cake.tmbundle/Snippets/App::import(…);.tmSnippet A PHP Cake.tmbundle/Snippets/minLength.tmSnippet A PHP Cake.tmbundle/Snippets/maxLength.tmSnippet A PHP Cake.tmbundle/Snippets/$title_for_layout.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->read(…).tmSnippet A PHP Cake.tmbundle/Snippets/var $actsAs.tmSnippet A PHP Cake.tmbundle/Snippets/range.tmSnippet A PHP Cake.tmbundle/Snippets/postal.tmSnippet A PHP Cake.tmbundle/Snippets/$form->submitImage(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->find( 'list', …).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->id = ….tmSnippet A PHP Cake.tmbundle/Snippets/function afterSave().tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->updateAll(…).tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::variable(…).tmSnippet A PHP Cake.tmbundle/Snippets/phone.tmSnippet A PHP Cake.tmbundle/Snippets/$form->select(…).tmSnippet A PHP Cake.tmbundle/Snippets/var $hasMany.tmSnippet A PHP Cake.tmbundle/Snippets/boolean.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->findBy(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->data.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->findCount(…).tmSnippet A PHP Cake.tmbundle/Snippets/function afterFind().tmSnippet A PHP Cake.tmbundle/Snippets/Render element.tmSnippet A PHP Cake.tmbundle/Snippets/function _beforeScaffold().tmSnippet A PHP Cake.tmbundle/Snippets/$this->redirect(…); - Action.tmSnippet A PHP Cake.tmbundle/Snippets/ip.tmSnippet A PHP Cake.tmbundle/Snippets/$form->textarea(…).tmSnippet A PHP Cake.tmbundle/Snippets/function beforeRedirect().tmSnippet A PHP Cake.tmbundle/Snippets/$form->label(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->redirect(…); - Controller.tmSnippet A PHP Cake.tmbundle/Snippets/var $hasAndBelongsToMany.tmSnippet A PHP Cake.tmbundle/Snippets/debug(…).tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::singularize(…).tmSnippet A PHP Cake.tmbundle/Snippets/$form->text(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->meta('rss').tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->del(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->check('Message_flash').tmSnippet A PHP Cake.tmbundle/Snippets/$form->error(…).tmSnippet A PHP Cake.tmbundle/Snippets/$session->read(…).tmSnippet A PHP Cake.tmbundle/Snippets/$form->input(…).tmSnippet A PHP Cake.tmbundle/Snippets/New Controller.tmSnippet A PHP Cake.tmbundle/Snippets/$form->end(…).tmSnippet A PHP Cake.tmbundle/Snippets/numeric.tmSnippet A PHP Cake.tmbundle/Snippets/$html->link(…) - Controller_Action.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->write(…).tmSnippet A PHP Cake.tmbundle/Snippets/New Model.tmSnippet A PHP Cake.tmbundle/Snippets/comparison.tmSnippet A PHP Cake.tmbundle/Snippets/equalTo.tmSnippet A PHP Cake.tmbundle/Snippets/date.tmSnippet A PHP Cake.tmbundle/Snippets/function _afterScaffoldSaveError().tmSnippet A PHP Cake.tmbundle/Snippets/money.tmSnippet A PHP Cake.tmbundle/Snippets/$this->renderElement(…).tmSnippet A PHP Cake.tmbundle/Snippets/var $hasOne.tmSnippet A PHP Cake.tmbundle/Snippets/$form->radio(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->meta('icon').tmSnippet A PHP Cake.tmbundle/Snippets/ssn.tmSnippet A PHP Cake.tmbundle/Snippets/$this->redirect(…); - Controller_Action.tmSnippet A PHP Cake.tmbundle/Snippets/var $useTable;.tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::camelize(…).tmSnippet A PHP Cake.tmbundle/Snippets/New Component.tmSnippet A PHP Cake.tmbundle/Snippets/extension.tmSnippet A PHP Cake.tmbundle/Snippets/blank.tmSnippet A PHP Cake.tmbundle/Snippets/function initialize().tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->remove(…).tmSnippet A PHP Cake.tmbundle/Snippets/between.tmSnippet A PHP Cake.tmbundle/Snippets/ClassRegistry::init(…);.tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::pluralize(…).tmSnippet A PHP Cake.tmbundle/Snippets/$session->error().tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::slug(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->saveField(…).tmSnippet A PHP Cake.tmbundle/Snippets/$form->create(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->error().tmSnippet A PHP Cake.tmbundle/Snippets/url.tmSnippet A PHP Cake.tmbundle/Snippets/function beforeValidate().tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->find(…).tmSnippet A PHP Cake.tmbundle/Snippets/$config[…] = ….tmSnippet A PHP Cake.tmbundle/Snippets/file.tmSnippet A PHP Cake.tmbundle/Snippets/function _scaffoldError().tmSnippet A PHP Cake.tmbundle/Snippets/var $layout;.tmSnippet A PHP Cake.tmbundle/Snippets/cc.tmSnippet A PHP Cake.tmbundle/Snippets/$form->hidden(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->getCrumbs(…).tmSnippet A PHP Cake.tmbundle/Snippets/New Helper.tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::underscore(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->meta('description').tmSnippet A PHP Cake.tmbundle/Snippets/$form->password(…).tmSnippet A PHP Cake.tmbundle/Snippets/function afterFilter().tmSnippet A PHP Cake.tmbundle/Snippets/$form->submit(…).tmSnippet A PHP Cake.tmbundle/Snippets/function beforeFilter().tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->del(…).tmSnippet A PHP Cake.tmbundle/Snippets/var $validate.tmSnippet A PHP Cake.tmbundle/Snippets/function _afterScaffoldSave().tmSnippet A PHP Cake.tmbundle/Snippets/New Behavior.tmSnippet A PHP Cake.tmbundle/Snippets/$this->set(…, …);.tmSnippet A PHP Cake.tmbundle/Snippets/$html->meta('atom').tmSnippet A PHP Cake.tmbundle/Snippets/custom.tmSnippet A PHP Cake.tmbundle/Snippets/pr(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->addCrumb(…).tmSnippet A PHP Cake.tmbundle/Snippets/$content_for_layout.tmSnippet A PHP Cake.tmbundle/Snippets/Inflector::tabelize(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->pageTitle = $title;.tmSnippet A PHP Cake.tmbundle/Snippets/email.tmSnippet A PHP Cake.tmbundle/Snippets/$this->Session->setFlash(…).tmSnippet A PHP Cake.tmbundle/Snippets/$html->link(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->Model->save(…).tmSnippet A PHP Cake.tmbundle/Snippets/$this->params[…].tmSnippet A PHP Cake.tmbundle/info.plist A PHP Cake.tmbundle/comments.mdown A PHP Cake.tmbundle/Syntaxes A PHP Cake.tmbundle/Syntaxes/HTML (PHP Cake).tmLanguage Checked out revision 12004.

Textmate上では、HTML(PHP CAKE)と表示され、追加されます。

]

参考