Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » 100% CPU while editing JSP
100% CPU while editing JSP [message #226954] Wed, 21 January 2009 15:28
Chris TenHarmsel is currently offline Chris TenHarmsel
Messages: 1
Registered: July 2009
Junior Member
I've noticed this a few times in the past but today it's gotten to the
point where I can't do work anymore, so I thought I'd ask.

Basically, I have a JSP that is around 500 lines long, and basically it's
started completely hanging eclipse if I edit anything near the beginning
of the file.

For example:
I want to type '<c:out value="thinger"/>', so I type at my normal pace:
'<c:out', and eclipse puts it in at a pace of about 1 character every 2-5
seconds. then as soon as I type [space] and begin typing 'value'
everything moves at the proper pace. As soon as I type '=' eclipse hangs
for roughly 10 seconds, then proceeds to hang for 2-5 seconds per
character for each of the following characters in the tag.

If I try to type this same thing at the end of my file, everything works
fine. If I try to type it at around the 200 line mark, it goes about half
pace.

It's almost as if as soon as I start typing a tag, it's treating all the
remaining text as if it could be part of the tag and trying to validate it
or something.

Some info:
Preferences -> ... -> Structured Text Editor has "Report problems as you
type" unchecked

I had the JSP validator disabled, and even if I choose "Suspend all
validators" this problem happens.

Under Preferences -> Web -> JSPFiles -> Validation I have "Validate JSP
fragments" unchecked.

Eclipse 3.4.1

Any ideas what's going on and how I can fix it?
Previous Topic:JSDT Support JS frameworks
Next Topic:Problem installing from an update site with features dependent on other features
Goto Forum:
  


Current Time: Sun Apr 20 12:34:57 EDT 2014

Powered by FUDForum. Page generated in 0.02388 seconds