Skip to content

Commit d159968

Browse files
jorgsowaangelozerr
authored andcommitted
fix: add no-op for workspace/inlineValue/refresh to prevent UnsupportedOperationException (#1470)
1 parent c862c74 commit d159968

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/com/redhat/devtools/lsp4ij/client/LanguageClientImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ private void refreshSemanticTokensForAllOpenedFiles() {
208208
.submit(AppExecutorUtil.getAppExecutorService());
209209
}
210210

211+
@Override
212+
public CompletableFuture<Void> refreshInlineValues() {
213+
return CompletableFuture.completedFuture(null);
214+
}
215+
211216
@Override
212217
public CompletableFuture<Void> refreshDiagnostics() {
213218
return CompletableFuture.runAsync(this::refreshDiagnosticsForAllOpenedFiles);

0 commit comments

Comments
 (0)