//
you're reading...
Emacs, HowTo

PHP Mode for Emacs – Flymake


I always find flymake extremely useful when editing code in Emacs.

In this period, I’m working a bit with PHP and I’ve immediately thought that enabling flymake for Emacs was indeed a good idea.

Well, someone has apparently already thought about it, so everything you need to know about it is explained here.

I tried it on my machine and it worked like a charm. Combined with some PHP documentation integrated in Emacs, I’m now starting to have a complete and powerful development environment for PHP.

I’m now wondering if there’s any way to get this a step forward. First of all, I’m trying to identify errors different from the parsing ones. What I would really love, for example, is to have Emacs showing me all the unused variables in a PHP file. If you have any idea on how to achieve this, don’t be shy and share your thoughts with me, as a post comment or, if you prefer, as a private e-mail or through twitter.

About these ads

About Roberto Aloi

Software Engineer and Erlanger. Author of www.tryerlang.org.

Discussion

One thought on “PHP Mode for Emacs – Flymake

  1. Did you ever find a way of finding unused variables or (my own personal “favourite”) undeclared variables.

    Posted by Name (required) | August 10, 2010, 6:50 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: