emacs, speedbar, php-mode

From: Date: Wed, 30 Jul 2003 18:55:11 +0000
Subject: emacs, speedbar, php-mode
Groups: php.general 
Request: Send a blank email to php-general+get-157581@lists.php.net to get a copy of this message
I've seen a number of questions posted on how to get speedbar to work with php-mode inside emacs. This is a hack that piggybacks on the semantic bovinator functionality with java which seems to work well with php classes. This requires that you have the semantic bovinator from: <http://cedet.sourceforge.net/semantic.shtml>. Add the following to your .emacs: ;;;;;;;;;;;;;; (speedbar-add-supported-extension ".php") ; not necessarily required (add-hook 'php-mode-user-hook 'semantic-default-java-setup) (add-hook 'php-mode-user-hook (lambda () (setq imenu-create-index-function 'semantic-create-imenu-index) )) ;;;;;;;;;;;;;;;

« previous php.general (#157581) next »