Add command for only opening external docs and attempt to fix vscode-remote issue

This commit is contained in:
Lukas Wirth 2023-10-18 14:02:56 +02:00
parent 6572ec8d94
commit 4296fe52ba
4 changed files with 47 additions and 17 deletions

View file

@ -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",