Community
Participate
Working Groups
When file contains many functions marking function occurrences is slow. Example file has 2000 empty functions and after clicking into name (function declaration) it takes about 1-2 sec to highlight it. This code will generate php file with 2000 empty functions: <?php $sTest = "<?php class CTest{\n"; for($i = 1; $i < 2000; ++ $i) { $sTest .= "function func$i(){}\n"; } $sTest .= "function test(){}\n"; $sTest .= "} ?>"; file_put_contents ( 'CTest2.php', $sTest ); ?>
Marking occurrences was slow for class members, especially for functions. Small patch: https://git.eclipse.org/r/#/c/32836/
Merged: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=1d21424a9faa7837691c71d6320bc1bd058eb6b9 Thanks!
Looks OK to me, Closing