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 vote down vote up
@JsonRequest
CompletableFuture<MoveDestinationsResponse> getMoveDestinations(MoveParams params);
 
Example #2
Source File: BuildServer.java    From build-server-protocol with Apache License 2.0 4 votes vote down vote up
@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 vote down vote up
@JsonRequest("workspace/buildTargets")
CompletableFuture<WorkspaceBuildTargetsResult> workspaceBuildTargets();
 
Example #4
Source File: TextDocumentService.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
* 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 vote down vote up
@JsonRequest("buildTarget/scalaTestClasses")
CompletableFuture<ScalaTestClassesResult> buildTargetScalaTestClasses(ScalaTestClassesParams params);
 
Example #6
Source File: IDebugProtocolServer.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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 vote down vote up
@JsonRequest
CompletableFuture<WorkspaceEdit> generateHashCodeEquals(GenerateHashCodeEqualsParams params);
 
Example #8
Source File: JavaProtocolExtensions.java    From eclipse.jdt.ls with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<WorkspaceEdit> organizeImports(CodeActionParams params);
 
Example #9
Source File: JavaProtocolExtensions.java    From eclipse.jdt.ls with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<WorkspaceEdit> generateToString(GenerateToStringParams params);
 
Example #10
Source File: IDebugProtocolServer.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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 vote down vote up
/**
 * 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 vote down vote up
@JsonRequest
CompletableFuture<CheckConstructorsResponse> checkConstructorsStatus(CodeActionParams params);
 
Example #13
Source File: IDebugProtocolServer.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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 vote down vote up
@JsonRequest
CompletableFuture<WorkspaceEdit> generateDelegateMethods(GenerateDelegateMethodsParams params);
 
Example #15
Source File: JavaProtocolExtensions.java    From eclipse.jdt.ls with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<RefactorWorkspaceEdit> getRefactorEdit(GetRefactorEditParams params);
 
Example #16
Source File: GLSPServer.java    From graphical-lsp with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest("shutdown")
CompletableFuture<Object> shutdown();
 
Example #17
Source File: JavaProtocolExtensions.java    From eclipse.jdt.ls with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<RefactorWorkspaceEdit> move(MoveParams params);
 
Example #18
Source File: JavaProtocolExtensions.java    From eclipse.jdt.ls with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<List<SymbolInformation>> searchSymbols(SearchSymbolParams params);
 
Example #19
Source File: DebugIntegrationTest.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<MyParam> askClient(MyParam param);
 
Example #20
Source File: JavaProtocolExtensions.java    From eclipse.jdt.ls with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<WorkspaceEdit> didRenameFiles(FileRenameParams params);
 
Example #21
Source File: IDebugProtocolServer.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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 vote down vote up
@JsonRequest
CompletableFuture<String> classFileContents(TextDocumentIdentifier documentUri);
 
Example #23
Source File: TestLangLSPExtension.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<TextOfLineResult> getTextOfLine(TextOfLineParam param);
 
Example #24
Source File: TestLangLSPExtension.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest
CompletableFuture<Set<String>> getAllOpNames();
 
Example #25
Source File: MockConnectionTest.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
@JsonRequest("server/request")
CompletableFuture<String> request(String arg);
 
Example #26
Source File: LanguageClient.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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 vote down vote up
@JsonRequest
CompletableFuture<MyParam> askServer(MyParam param);
 
Example #28
Source File: TextDocumentService.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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 vote down vote up
@JsonRequest
public CompletableFuture<String> ask(Param p);
 
Example #30
Source File: IDebugProtocolServer.java    From lsp4j with Eclipse Public License 2.0 4 votes vote down vote up
/**
 * 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();
}