Dejan Kozina - 2009-01-25

Hello all.

I've fallen into itch scratching mood today and ended up writing an autocomplete file for Smarty. Don't expect too much of it - I haven't found a way to make the parameters hint popup behave, so I did it the quick and dirty way. Functions (both built-in and custom) and default modifiers are listed twice: first with just the required parameters (if any) and then once more with all acceptable parameters. A closing angle bracket (}) is included with all functions - as one's gonna need it there sooner or later anyway. Won't win any beauty contest, but it does the job.

Smarty coders, get it straight from http://www.kozina.com/Smarty.xml and store it in the plugins/APIs subfolder, then restart NPP. You are supposed to have Smarty set up as a User Defined language beforehand for the autocomplete to work, I guess.

If you stumble upon any error, typo or other mishap leave a note on this thread. If you happen to find out how to have those parameters displayed after the function autocomplete: great! Cry out loud and leave a message (and a sample, please) here again.

djn