org.eclipse.lsp4j.jsonrpc.services.JsonRequest Java Examples
The following examples show how to use
org.eclipse.lsp4j.jsonrpc.services.JsonRequest.
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: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<MoveDestinationsResponse> getMoveDestinations(MoveParams params);
Example #2
Source File: BuildServer.java From build-server-protocol with Apache License 2.0 | 4 votes |
@JsonRequest("buildTarget/run") CompletableFuture<RunResult> buildTargetRun(RunParams params);
Example #3
Source File: BuildServer.java From build-server-protocol with Apache License 2.0 | 4 votes |
@JsonRequest("workspace/buildTargets") CompletableFuture<WorkspaceBuildTargetsResult> workspaceBuildTargets();
Example #4
Source File: TextDocumentService.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * Provide all outgoing calls for an item, e.g call calls to functions, methods, or constructors from the given item. In * graph terms this descibes directed and annotated edges inside the call graph, e.g the given item is the starting * node and the result is the nodes that can be reached. */ @Beta @JsonRequest(value="callHierarchy/outgoingCalls", useSegment = false) default CompletableFuture<List<CallHierarchyOutgoingCall>> callHierarchyOutgoingCalls(CallHierarchyOutgoingCallsParams params) { throw new UnsupportedOperationException(); }
Example #5
Source File: ScalaBuildServer.java From build-server-protocol with Apache License 2.0 | 4 votes |
@JsonRequest("buildTarget/scalaTestClasses") CompletableFuture<ScalaTestClassesResult> buildTargetScalaTestClasses(ScalaTestClassesParams params);
Example #6
Source File: IDebugProtocolServer.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * Retrieves the set of all sources currently loaded by the debugged process. */ @JsonRequest default CompletableFuture<LoadedSourcesResponse> loadedSources(LoadedSourcesArguments args) { throw new UnsupportedOperationException(); }
Example #7
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<WorkspaceEdit> generateHashCodeEquals(GenerateHashCodeEqualsParams params);
Example #8
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<WorkspaceEdit> organizeImports(CodeActionParams params);
Example #9
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<WorkspaceEdit> generateToString(GenerateToStringParams params);
Example #10
Source File: IDebugProtocolServer.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * The request returns a stacktrace from the current execution state. */ @JsonRequest default CompletableFuture<StackTraceResponse> stackTrace(StackTraceArguments args) { throw new UnsupportedOperationException(); }
Example #11
Source File: IDebugProtocolServer.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * The request retrieves the source code for a given source reference. */ @JsonRequest default CompletableFuture<SourceResponse> source(SourceArguments args) { throw new UnsupportedOperationException(); }
Example #12
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<CheckConstructorsResponse> checkConstructorsStatus(CodeActionParams params);
Example #13
Source File: IDebugProtocolServer.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * The request starts the debuggee to run again. */ @JsonRequest(value = "continue") default CompletableFuture<ContinueResponse> continue_(ContinueArguments args) { throw new UnsupportedOperationException(); }
Example #14
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<WorkspaceEdit> generateDelegateMethods(GenerateDelegateMethodsParams params);
Example #15
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<RefactorWorkspaceEdit> getRefactorEdit(GetRefactorEditParams params);
Example #16
Source File: GLSPServer.java From graphical-lsp with Eclipse Public License 2.0 | 4 votes |
@JsonRequest("shutdown") CompletableFuture<Object> shutdown();
Example #17
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<RefactorWorkspaceEdit> move(MoveParams params);
Example #18
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<List<SymbolInformation>> searchSymbols(SearchSymbolParams params);
Example #19
Source File: DebugIntegrationTest.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<MyParam> askClient(MyParam param);
Example #20
Source File: JavaProtocolExtensions.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<WorkspaceEdit> didRenameFiles(FileRenameParams params);
Example #21
Source File: IDebugProtocolServer.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * Retrieves the details of the exception that caused this event to be raised. */ @JsonRequest default CompletableFuture<ExceptionInfoResponse> exceptionInfo(ExceptionInfoArguments args) { throw new UnsupportedOperationException(); }
Example #22
Source File: IExtendedProtocol.java From eclipse.jdt.ls with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<String> classFileContents(TextDocumentIdentifier documentUri);
Example #23
Source File: TestLangLSPExtension.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<TextOfLineResult> getTextOfLine(TextOfLineParam param);
Example #24
Source File: TestLangLSPExtension.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<Set<String>> getAllOpNames();
Example #25
Source File: MockConnectionTest.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
@JsonRequest("server/request") CompletableFuture<String> request(String arg);
Example #26
Source File: LanguageClient.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * The client/unregisterCapability request is sent from the server to the client * to unregister a previously register capability. */ @JsonRequest("client/unregisterCapability") default CompletableFuture<Void> unregisterCapability(UnregistrationParams params) { throw new UnsupportedOperationException(); }
Example #27
Source File: DebugIntegrationTest.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
@JsonRequest CompletableFuture<MyParam> askServer(MyParam param);
Example #28
Source File: TextDocumentService.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * The code lens resolve request is sent from the client to the server to * resolve the command for a given code lens item. */ @JsonRequest(value="codeLens/resolve", useSegment = false) default CompletableFuture<CodeLens> resolveCodeLens(CodeLens unresolved) { throw new UnsupportedOperationException(); }
Example #29
Source File: LauncherTest.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
@JsonRequest public CompletableFuture<String> ask(Param p);
Example #30
Source File: IDebugProtocolServer.java From lsp4j with Eclipse Public License 2.0 | 4 votes |
/** * Modules can be retrieved from the debug adapter with the ModulesRequest which * can either return all modules or a range of modules to support paging. */ @JsonRequest default CompletableFuture<ModulesResponse> modules(ModulesArguments args) { throw new UnsupportedOperationException(); }