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

GNU Emacs as a Comic Book Reader

Tinylisp and Multi-threaded Emacs

GNU Emacs as a Shopping App