This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 163495 [details] example Pleae see attached screenshot. If i use variable in anonymus function from "use" directive. this variable are not highlighted by Netbeans.
Not a P1, sorry. Thanks for reporting.
Fixed. http://hg.netbeans.org/web-main/rev/8874c372dc24 I also fixed another problem: Sometimes GotoDeclaration behavior was different. e.g. $^tests[1] goes to "&$^tests" or "$^tests = [];" <?php $tests = []; $anon = function() use (&$tests) { $tests[1] = [1, 2, 3]; }; Thanks.
Integrated into 'main-silver', will be available in build *201703310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8874c372dc24 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #269672 - Wrong highlighting on used variable in anonymous functions
Thank you, Junichi!
You are welcome :)