mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Add LSP request and VSCode command
This commit is contained in:
parent
31f5f816e3
commit
669e117644
7 changed files with 96 additions and 9 deletions
|
@ -72,6 +72,15 @@ export interface Runnable {
|
|||
}
|
||||
export const runnables = new lc.RequestType<RunnablesParams, Runnable[], void>("experimental/runnables");
|
||||
|
||||
export interface RelatedTestsParams extends lc.TextDocumentPositionParams {
|
||||
}
|
||||
|
||||
export interface TestInfo {
|
||||
runnable: Runnable;
|
||||
}
|
||||
|
||||
export const relatedTests = new lc.RequestType<RelatedTestsParams, TestInfo[], void>("rust-analyzer/relatedTests");
|
||||
|
||||
export type InlayHint = InlayHint.TypeHint | InlayHint.ParamHint | InlayHint.ChainingHint;
|
||||
|
||||
export namespace InlayHint {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue