Skip to content

Commit

Permalink
Begin reporting on completion progress monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
datho7561 committed Oct 11, 2024
1 parent 969bc5a commit 090298b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
import org.eclipse.jdt.internal.core.JavaProject;
import org.eclipse.jdt.internal.core.ModuleSourcePathManager;
import org.eclipse.jdt.internal.core.SearchableEnvironment;
import org.eclipse.jdt.internal.core.util.Messages;

/**
* A completion engine using a DOM as input (as opposed to {@link CompletionEngine} which
Expand Down Expand Up @@ -212,6 +213,7 @@ private IJavaElement computeEnclosingElement() {
@Override
public void run() {

this.monitor.beginTask(Messages.engine_completing, IProgressMonitor.UNKNOWN);
this.requestor.beginReporting();
this.toComplete = NodeFinder.perform(this.unit, this.offset, 0);
this.expectedTypes = new ExpectedTypes(this.assistOptions, this.toComplete);
Expand Down

0 comments on commit 090298b

Please sign in to comment.