Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
import org.eclipse.lsp4j.Registration;
import org.eclipse.lsp4j.RegistrationParams;
import org.eclipse.lsp4j.ServerCapabilities;
import org.eclipse.lsp4j.SetTraceParams;
import org.eclipse.lsp4j.SymbolInformation;
import org.eclipse.lsp4j.SymbolKind;
import org.eclipse.lsp4j.TextDocumentChangeRegistrationOptions;
Expand All @@ -84,6 +85,7 @@
import org.eclipse.lsp4j.Unregistration;
import org.eclipse.lsp4j.UnregistrationParams;
import org.eclipse.lsp4j.WorkDoneProgressBegin;
import org.eclipse.lsp4j.WorkDoneProgressCancelParams;
import org.eclipse.lsp4j.WorkDoneProgressEnd;
import org.eclipse.lsp4j.WorkspaceFolder;
import org.eclipse.lsp4j.WorkspaceFoldersOptions;
Expand Down Expand Up @@ -351,6 +353,21 @@ public void exit() {
System.exit(0);
}

@Override
public void cancelProgress(WorkDoneProgressCancelParams params) {
// TODO: Right now this stub just avoids a possible runtime error from the default
// impl in lsp4j. If we start using work done tokens, we will want to support canceling
// them here.
LOGGER.warning("window/workDoneProgress/cancel not implemented");
}

@Override
public void setTrace(SetTraceParams params) {
// TODO: Eventually when we set up better logging, maybe there's something to do here.
// For now, this stub just avoids a runtime error from the default impl in lsp4j.
LOGGER.warning("$/setTrace not implemented");
}

@Override
public CompletableFuture<String> jarFileContents(TextDocumentIdentifier textDocumentIdentifier) {
LOGGER.finest("JarFileContents");
Expand Down