My Emacs Web Development Environment Project

Tuesday, October 7, 2008

New Update for Emacs Php Mode

You can download here http://mewde.googlecode.com/files/php-mode-new.el
It is basically last Sourceforge php-mode and my old php mode mix; all sourceforge php-mode features is working (indentation; tag generation,showing function argument list, function reference, php manual search) plus hippie-expand base php-templates; function and all open buffers word completion with tab key; function templates and extra indentation with different keys.
Some big differences; code comments inserting sourceforge php-mode style; php-templates doesn't automatic insert; Class-function templates with shortcuts; otherwise; M-x php-template-TAB list all options, then select and insert.  We don't have old "Sources" menu, etc...But we have automatic imenu, outline and Templates menu; Header and Footer templates, Class and Function templates with shortcuts...
I was working with this mode past two months; It seems quite stable; works great for me; it supports php5 and php5 outlines; and it works just good with flymake-php; you don't need a big-fat php ide:) I tested with emacs23 environment; both vista and ubundu hardy; even works with yasnippet mode together; just disable abbrev-minor-mode, or if you are insert phptemplate, function etc; after typing and tabbing completion; type M-Space then going on; it works fine...
For example; I don't use any multiple major mode for php; I put all yasnipet html snippets to inside php snippets; and I use with new php-mode for complex php-html code pages.
I have big updates for Mewde Project; like yas-snippets support, actionscript3 and mxml support with flymake and flyparse-mode; new css-mode with syntax checking and flyparse-mode, js2-mode support with flyparse-mode, flymake-mode for php-c#-java, vcs backend modes support(like darcs-svn-bzr-git). I need better setup and I'm working on it; soon as possible, stay tune...