jEdit 5.3, PHPParser 2.0.5, Ubuntu 12.04 (although I fully expect the bug is on all platforms) Oracle Java 1.7.0_80. The version of PHP installed on my system is 5.5.
Steps to reproduce:
- write any code that uses the new short array syntax described in the PHP 5.4 "New features" page on php.net: http://php.net/manual/en/migration54.new-features.php
- Open a sidekick panel and a error panel as shown in the screenshot.
- Try to expand any class nodes as shown in the screenshot.
- Observe the lack of class methods beyond the one in which syntax errors are found.
- Observe the syntax errors incorrectly reported in the error list panel.
Oops here is a better shot showing the error list at the bottom. (The first shot was a hypersearch panel.)
Fixed in trunk
I see it says fixed - but I am getting this... see attached
That is with the plugin as installed through the jedit plugin manager. Is there some trick to have it allow [] array syntax?
Last edit: Mike McCallister 2019-05-24