Bug 308226 - Present a dialog when annotation processors take too long
Summary: Present a dialog when annotation processors take too long
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 11:34 EDT by Walter Harley CLA
Modified: 2010-04-07 08:45 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Harley CLA 2010-04-06 11:34:36 EDT
Java 5 annotation processors can run during editing, if the "enable processing in editor" option is enabled.  If slow processors are present, this can cause the user experience to become very slow.

We should monitor edit-time processing and, if the annotation processing cycle is slow, put up a dialog offering to disable the option.

Ideally we would be able to disable the option for a single processor.  However, we don't have that functionality; also, processors sometimes work in tandem and disabling just one could have unpredictable results.