org.eclipse.lsp4j.ConfigurationParams Java Examples
The following examples show how to use
org.eclipse.lsp4j.ConfigurationParams.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LanguageClientImpl.java From netbeans with Apache License 2.0 | 5 votes |
@Override public CompletableFuture<List<Object>> configuration(ConfigurationParams configurationParams) { CompletableFuture<List<Object>> result = new CompletableFuture<>(); WORKER.post(() -> { List<Object> outcome = new ArrayList<>(); for (ConfigurationItem ci : configurationParams.getItems()) { outcome.add(null); } result.complete(outcome); }); return result; }
Example #2
Source File: DefaultLanguageClient.java From lsp4intellij with Apache License 2.0 | 4 votes |
@Override public CompletableFuture<List<Object>> configuration(ConfigurationParams configurationParams) { return LanguageClient.super.configuration(configurationParams); }
Example #3
Source File: CommandRegistryTest.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
public CompletableFuture<List<Object>> configuration(ConfigurationParams configurationParams) { return noImpl3.configuration(configurationParams); }
Example #4
Source File: LanguageClient.java From lsp4j with Eclipse Public License 2.0 | 2 votes |
/** * The workspace/configuration request is sent from the server to the client to fetch * configuration settings from the client. The request can fetch n configuration settings * in one roundtrip. The order of the returned configuration settings correspond to the * order of the passed ConfigurationItems (e.g. the first item in the response is the * result for the first configuration item in the params). */ @JsonRequest("workspace/configuration") default CompletableFuture<List<Object>> configuration(ConfigurationParams configurationParams) { throw new UnsupportedOperationException(); }