GNU Emacs as a lightweight PHP IDE

 

Auto-complete for PHP

Auto-complete using company

 

This is a simple Proof-of-Concept for PHP auto-complete based on CEDET semantic. Given a semantic setup, addition of the following two files (Makefile.in changes too if grammar file should be compiled during build) should allow auto-complete as in above picture.

PHP Grammar file: https://gitlab.com/atamariya/emacs/-/blob/php/admin/grammars/php.wy
PHP mode definition: https://gitlab.com/atamariya/emacs/-/blob/php/lisp/cedet/semantic/php.el

Comments

Popular posts from this blog

Basic WYSIWYG printing in GNU Emacs

Draw and Scribble Notes in GNU Emacs

Sheet music in GNU Emacs