Community
Participate
Working Groups
Created attachment 246800 [details] Example file When php file has many members (e.g. 2000 methods in class) then every save is updating whole Outline view viewer. This freezes PDT for a few seconds.
Patch proposal: https://git.eclipse.org/r/#/c/33010/
Merged: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=8f56a7caee3fda17e509b2c32cd50f3a5c87bcfe Thank You :D
I found another case where saving file is freezing PDT. When one of the opened files is under GIT control then GitLightweightDecorator is triggering LabelProviderChangedEvent after every save. This is causing refresh of all Outline viewers. If 2-3 files like from example are opened also then PDT is freezing for few seconds.
New Gerrit change created: https://git.eclipse.org/r/49135
Exact steps to reproduce: * Use project under GIT control * Copy into it 4-5 copies of example file and open all * Be sure Outline is opened * Make any change in one of files and save it * PDT will freeze for a moment
Gerrit change https://git.eclipse.org/r/49135 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=417e4d387f80f2b78877f338222fab37bffc7f96
I hope this is the last patch for this issue ;) Fixed.
New Gerrit change created: https://git.eclipse.org/r/49360
Reopened because bug 469271.
Gerrit change https://git.eclipse.org/r/49360 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=b6cafb87ca8c31676e18a727b0541a06aac8cb91
New Gerrit change created: https://git.eclipse.org/r/49685
Gerrit change https://git.eclipse.org/r/49685 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=f6f7bc2ddbf32be3dcf74a584ec6f2d18633936a
Fixed.
Looks OK now. Did not get stuck. Closing