First of all, this being the first time I post on this forum, I'd like to congratulate the Spket team for the great work they've done.
Now the problems
I have Spket 1.6.12 installed as a plugin in Eclipse 3.3.2.
I set up *.tpl files to be edited with the Spket editor.
The *.tpl files are actually JS files with PHP code inserted for dynamic code generation.
The PHP code is grayed out which is perfect, but if the PHP code is inside a string ( between single/double quotes ) it is not escaped and of course Spket considers that there are syntax errors.
How to reproduce:
1. Create an empty .js file
2. Write something like :
Code: Select all
var a=<?='123'?>; var b='<?=$var['key']?>';