Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Cake phpフレームワークを使用するプロジェクトがあるため、Windowsのgeditに.ctpファイルを追加しようとしています。.phpファイルのように解釈される.ctpファイルを追加するのが好きです。Windowsでこれを実現する方法は?
ありがとう
php.lang 行をC:\Program Files\gedit\share\gtksourceview-2.0\language-specs\ 変更してファイルを編集する必要があります
php.lang
C:\Program Files\gedit\share\gtksourceview-2.0\language-specs\
<property name="globs">*.php;*.php3;*.php4;*.phtml;*.phtml</property>
に
<property name="globs">*.php;*.php3;*.php4;*.phtml;*.phtml;*.ctp</property>
geditを再起動します