Skip to content

Commit

Permalink
Send started status when light weight server is ready
Browse files Browse the repository at this point in the history
Signed-off-by: Sheng Chen <[email protected]>
  • Loading branch information
jdneo authored and fbricon committed Jun 8, 2020
1 parent ebba8b8 commit 81653e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import org.eclipse.jdt.ls.core.internal.JavaClientConnection.JavaLanguageClient;
import org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin;
import org.eclipse.jdt.ls.core.internal.JobHelpers;
import org.eclipse.jdt.ls.core.internal.ServiceStatus;
import org.eclipse.jdt.ls.core.internal.handlers.BaseDocumentLifeCycleHandler;
import org.eclipse.jdt.ls.core.internal.handlers.DocumentSymbolHandler;
import org.eclipse.jdt.ls.core.internal.handlers.FoldingRangeHandler;
Expand Down Expand Up @@ -154,6 +155,7 @@ public void initialized() {
} catch (OperationCanceledException | InterruptedException e) {
logException(e.getMessage(), e);
}
this.client.sendStatus(ServiceStatus.Started, "LightWeightServiceReady");
logInfo(">> initialization job finished");

PreferenceManager preferenceManager = JavaLanguageServerPlugin.getPreferencesManager();
Expand Down

0 comments on commit 81653e2

Please sign in to comment.