|Content Assist 100% cpu [message #621236]
||Thu, 15 April 2010 16:47
| Jim Boden
Registered: April 2010
This works great in eclipse 3.3, but starting in 3.4 and 3.5, I see a big problem with trying to do content-assist (ctrl-space) on a jspx page. I've now found a repeatable work-around and break cycle so hopefully someone can help find the issue.|
I see this on a project with about medium sized beans. I don't really see it on demo/small beans. So I'm editing a jspx file and get to a place like:
And right there, I click ctrl-space. Eclipse then pegs at 100% cpu for about 10-20 seconds, then comes back with the list of variables/methods.
Now I close eclipse and edit my faces-config.xml file with a text editor. I then restart eclipse and if I check the log file, I'll see exceptions about the faces-config.xml file resource out of sync. org.eclipse.core.internal.resources.ResourceException.
From here on out, the content-assist / autocomplete works great. If I ever click refresh (F5) on the project/faces file, it will refresh and go back to taking up high cpu.
So something about the exception must stop a type of validation that hangs the content-assist.
Anyone have an idea of what this could be?
Powered by FUDForum
. Page generated in 0.06819 seconds