From f06a57d2703a4c544dbc65cb584482028dd69d2f Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Sat, 14 Jul 2018 18:37:47 +0200 Subject: [PATCH] Use standard LSP 3.6 Goto implementation command Introduced in the RLS with https://github.com/rust-lang-nursery/rls/pull/936. --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 99a05c54..845fcea4 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -211,7 +211,7 @@ class ClientWorkspace { .asTextDocumentPositionParams(textEditor.document, textEditor.selection.active); let locations: Location[]; try { - locations = await this.lc.sendRequest('rustDocument/implementations', params); + locations = await this.lc.sendRequest('textDocument/implementation', params); } catch (reason) { window.showWarningMessage('find implementations failed: ' + reason); return;