Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333635 - PHP editor freezes on large files
Summary: PHP editor freezes on large files
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Dawid Pakula CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 05:02 EST by velja.r CLA
Modified: 2020-05-14 13:21 EDT (History)
3 users (show)

See Also:


Attachments
php file that causes php editor to hang forever (234.63 KB, text/html)
2011-01-06 05:04 EST, velja.r CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description velja.r CLA 2011-01-06 05:02:09 EST
Build Identifier: 20100917-0705

Eclipse freezes when opening larger *.php file. php file. It is happening only when opening with php editor. If I use html editor to open same file it works normally. 

If you need any logs or additional info. Please tell me what you need and I will attach. It happens outside project to when I open file directly using open file procedure.

Reproducible: Always

Steps to Reproduce:
1. Open attached file in the php editor
2.
3.
Comment 1 velja.r CLA 2011-01-06 05:04:56 EST
Created attachment 186155 [details]
php file that causes php editor to hang forever
Comment 2 Zhongwei Zhao CLA 2011-01-06 06:01:36 EST
this bug has been fixed in head,but it is still slow!
Comment 3 Dawid Pakula CLA 2014-06-01 17:34:31 EDT
Problem is with folding provider.
Patch: https://git.eclipse.org/r/27675

This patch:
1. Suspend ProjectionViewerInformation while editor initialization and collect annotation changes
2. Run annotation changes queue in one update
Comment 5 Sylvia Tancheva CLA 2015-05-29 10:39:02 EDT
Verified with the attached file on current PDT. It's OK. Closing the bug