LoginSignup
0
0

More than 3 years have passed since last update.

Eclipse 拡張子を追加する

Posted at

はじめに

CakePHPで開発をしている時、.ctpファイルを開いたらPHPファイルとして認識してくれませんでした。.ctpファイルを開いたらPHPファイルとして認識させる方法を紹介します。

やりかた

メニューバー

ウィンドウ > 設定

設定

一般 > コンテンツ・タイプ

コンテンツ・タイプ

テキスト > PHPコンテンツ・タイプ
→ファイルの関連付けに.ctpが登録されていない!!

ファイルの関連付け

  • 追加ボタンを押す
  • .ctpと入力してOK
  • 適用して閉じる

おわりに

以後、.ctpファイルを開くとPHPファイルとして認識してくれるようになります。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0