← Back to team overview

nxhtml team mailing list archive

Re: [Question #182528]: Auto Completion for php in nxhtml.

 

Question #182528 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/182528

lborgman posted a new comment:
Thanks for the question, Ankit.

I think many wonder the same as you do here. Unfortunately the answer is
that while there are many ways to do auto-completion in Emacs there is
perhaps nothing of the kind that you want for php.

tabkey2-mode tries to make all the auto-completions available in a
simple way. In every major mode there is a list in tabkey2-mode with the
available auto-completion functions.

For nxhtml-mode there is a good auto-completion that you can use out of
the box. (It builds on nxml-mode for that.) Unfortunately not even this
works as good as it should in multi major mode buffers. And even worse:
It can't be fixed. Some low lever changes to Emacs are required (or a
total rewrite of nxml-mode but that might be impossible for performance
reasons).

Perhaps you can use "yas" for completions in php-mode? And in html-mode
too?

-- 
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.