当前位置: 首页 > 工具软件 > Raxan for PHP > 使用案例 >

Emacs for PHP

齐高阳
2023-12-01
Dec 22 2008
 

1.download php-mode.el from http://sourceforge.net/projects/php-mode/

2. copy php-mode.el to emacs/lisp/

3.byte compile php-mode.el file to get php-mode.elc file

command:  M-x byte-compile-file

4.add following lines to you .emacs file

(require ‘php-mode)

(add-to-list ‘auto-mode-alist ‘(“\\.module$” . php-mode))

(add-to-list ‘auto-mode-alist ‘(“\\.inc$” . php-mode))

(add-to-list ‘auto-mode-alist ‘(“\\.install$” . php-mode))

(add-to-list ‘auto-mode-alist ‘(“\\.engine$” . php-mode))

done! emacs is ready to support php.

try C-c C-f on built in php function

 类似资料:

相关阅读

相关文章

相关问答