mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-17 07:45:08 +00:00
Add command for only opening external docs and attempt to fix vscode-remote issue
This commit is contained in:
parent
6572ec8d94
commit
4296fe52ba
4 changed files with 47 additions and 17 deletions
|
@ -74,8 +74,8 @@ export interface FetchDependencyListParams {}
|
|||
|
||||
export interface FetchDependencyListResult {
|
||||
crates: {
|
||||
name: string | undefined;
|
||||
version: string | undefined;
|
||||
name?: string;
|
||||
version?: string;
|
||||
path: string;
|
||||
}[];
|
||||
}
|
||||
|
@ -136,8 +136,8 @@ export const openCargoToml = new lc.RequestType<OpenCargoTomlParams, lc.Location
|
|||
"experimental/openCargoToml",
|
||||
);
|
||||
export interface DocsUrls {
|
||||
local: string | void;
|
||||
web: string | void;
|
||||
local?: string;
|
||||
web?: string;
|
||||
}
|
||||
export const openDocs = new lc.RequestType<lc.TextDocumentPositionParams, DocsUrls, void>(
|
||||
"experimental/externalDocs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue