diff options
| author | Anatol Liu <axlui@anatols-mbp.lan> | 2020-11-12 17:48:07 -0800 |
|---|---|---|
| committer | Anatol Liu <axlui@anatols-mbp.lan> | 2020-11-12 17:48:07 -0800 |
| commit | b1b7727e046b4b25dcca034ee767a7fc3238409d (patch) | |
| tree | c1942b7af1e73b139d2c62d1d81e8d6749dc8cd2 /editors/code/src/lsp_ext.ts | |
| parent | 111cc34c8f181315f4dcfa85c616d54d47eff0b9 (diff) | |
| download | rust-b1b7727e046b4b25dcca034ee767a7fc3238409d.tar.gz rust-b1b7727e046b4b25dcca034ee767a7fc3238409d.zip | |
add open Cargo.toml action
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
| -rw-r--r-- | editors/code/src/lsp_ext.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index d320c3cd718..5e877ce6511 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts @@ -114,3 +114,9 @@ export interface CommandLinkGroup { } export const openDocs = new lc.RequestType<lc.TextDocumentPositionParams, string | void, void>('experimental/externalDocs'); + +export const openCargoToml = new lc.RequestType<OpenCargoTomlParams, lc.Location, void>("experimental/openCargoToml"); + +export interface OpenCargoTomlParams { + textDocument: lc.TextDocumentIdentifier; +} |
