kikukawa's diary

都内で活動するシステムエンジニアが書いてます。 興味を持った技術やハマったポイント、自分用メモをつけてます。 最近はweb中心

Eclipse PHP Development Toolsの設定

ウィンドウ->設定

一般
->コンテンツタイプ
テキストの+を開きPHP SouceFile部分で任意の拡張子を追加(PHPエディターで編集したいものはここに入れる,.tmpなど)
デフォルト・エンコードを変更
->エディター
->テキスト・エディター
行番号の表示
関連付け
任意の拡張子を任意のエディターに関連付け

->パースペクティブ
PHPをデフォルトに設定

->外観
->色とフォント
->PHP Editor Text Font
文字の大きさなどを変更
->基本(Smartyエディター用)
->テキスト・フォント
文字の大きさなどを変更

PHP Web Development
->PHP
Show Line Numberにチェック
Typingタブを開く
Insert Space for Tabにチェック
タブの代わりにスペースを挿入する

->Formatter
->Style
上記タブの代わりのスペースの数を設定する

->Code Templates
テンプレートを編集

->HELP
http://jp.php.net/get/php_manual_ja.chm/from/a/mirror
上記URLからヘルプファイルをダウンロードしファイルを設定する


If you are using Microsoft Internet Explorer under Windows XP SP2 or later and you are going to download the documentation in CHM format, you should "unblock" the file after downloading it, by right-clicking on it and selecting the properties menu item. Then click on the 'Unblock' button. Failing to do this may lead to errors in the visualization of the file, due to a Microsoft bug.



->HTTPQuery
PHP Manualを編集http://www.php.net/manual/en/function.$php.selection.php
のenをjaに変更する

->Project Fault


参考サイト


タスク欄の文字化け
ウィンドウ->一般->ワークスペース
->テキスト・ファイル・エンコードをファイルと合わせる
PHPeclipse Web Development->PHP->Task Tagsを編集し、リビルドする