|Eclipse Hangs/Pauses When I Start to Type <elem... in JSPX/XML Editor, Especially with Custom Tag [message #641275]
||Wed, 24 November 2010 17:26
Registered: November 2010
I discovered that this issue only appears when I have a custom JSP taglib namespace defined for my JSPX file. In this case, it appears to be the xmlns:oba="/oba-tags" directive, though it appears to be an issue with anything I put here.
Note that I've had this taglib for a while and it's only recently that Eclipse has started hanging.
I am using Eclipse to edit a JSPX file using the XML editor. Whenever I start typing a new element (at the moment of typing the first character of the element name, the "<" has already been typed), Eclipse hangs / pauses for 5-10 seconds.
I'm not sure if this is an auto-complete issue or not. I've tried turning off every auto-completion feature I can find in the Eclipse settings, but auto-completion still seems to be on.
Specifically, when I type the "<" character, an auto-completion list of appropriate element names pops up immediately. If I then select on of those elements from the list, I get the same 5-10 second delay.
This delay also seems to kick in when deleting elements as well. Say I had started to add an element, typing "<s". I can backspace and delete the "s" character immediately, but when I attempt to delete the "<" character, I get the same pause.
I'm not sure what's going on, but it's clearly made JSPX editing really painful. For what it's worth, I'm running Eclipse 3.6.1-M20100909-0800. I've tied running a "Check for Updates" in the last few days, but the problem still persists.
I've included the core of my JSPX file if that helps:
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:s="/struts-tags"
[Updated on: Thu, 25 November 2010 03:51]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01691 seconds