Bug 3255 - Reminder - re-enable transient marker generation during code-assist (1GDCXLB)
Summary: Reminder - re-enable transient marker generation during code-assist (1GDCXLB)
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:52 EDT by Philipe Mulet CLA
Modified: 2002-03-26 12:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-10-10 22:52:05 EDT
CompletionRequestorWrapper.acceptError(...) was disabled to work-around a core 
issue (PR 1GD9RLP: ITPJCORE:WIN2000 - Code assist is slow).
The first line: 	if (true) return; // work-around PR 1GD9RLP: 
ITPJCORE:WIN2000 - Code assist is slow
	should be discarded once the associated PR is fixed.

===========
/**
 * See ICompletionRequestor
 */
public void acceptError(IProblem error) {

	if (true) return; // work-around PR 1GD9RLP: ITPJCORE:WIN2000 - Code 
assist is slow
	try {
		IMarker marker = ResourcesPlugin.getWorkspace().getRoot
().createMarker(IJavaModelMarker.TRANSIENT_PROBLEM);
		marker.setAttribute(IJavaModelMarker.ID, error.getID());
		marker.setAttribute(IMarker.CHAR_START, error.getSourceStart());
		marker.setAttribute(IMarker.CHAR_END, error.getSourceEnd() + 1);
		marker.setAttribute(IMarker.LINE_NUMBER, 
error.getSourceLineNumber());
		// HACK for now: The final format is not fixed yet.
		//marker.setAttribute(IMarker.LOCATION, "#" + 
error.getSourceLineNumber());
		marker.setAttribute(IMarker.MESSAGE, error.getMessage());
		marker.setAttribute(IMarker.SEVERITY, IMarker.SEVERITY_ERROR);

		this.clientRequestor.acceptError(marker);

	} catch(CoreException e){
	}
}
	if (true) return; // work-around PR 1GD9RLP: ITPJCORE:WIN2000 - Code 
assist is slowS
NOTES:

PM (5/14/2001 3:32:00 PM)
	Deferred as per EG
Comment 1 DJ Houghton CLA 2001-10-23 23:53:08 EDT
PRODUCT VERSION:
SDK 0.103+

Comment 2 Philipe Mulet CLA 2002-03-26 12:02:41 EST
Closing, no longer needed, since reconciling can report errors using an 
IProblemRequestor.