From 97e258cee8b736410ae2b2b816463093c376b319 Mon Sep 17 00:00:00 2001 From: Bill Schnurr Date: Mon, 22 Mar 2021 12:07:43 -0700 Subject: [PATCH 1/2] fix for first time rename and goToDef returning 'no result' --- src/client/activation/languageClientMiddleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/activation/languageClientMiddleware.ts b/src/client/activation/languageClientMiddleware.ts index 8a9b2245a263..4ae9c1d8b649 100644 --- a/src/client/activation/languageClientMiddleware.ts +++ b/src/client/activation/languageClientMiddleware.ts @@ -431,6 +431,7 @@ function captureTelemetryForLSPMethod( }; } sendTelemetryEvent(eventName, measures, properties); + return result; }; let result = originalMethod.apply(this, args); From d1c0e95bfc87f878bb67045c5768d7a6c54ea1b8 Mon Sep 17 00:00:00 2001 From: Bill Schnurr Date: Mon, 22 Mar 2021 13:07:01 -0700 Subject: [PATCH 2/2] adding news --- news/2 Fixes/15727.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 news/2 Fixes/15727.md diff --git a/news/2 Fixes/15727.md b/news/2 Fixes/15727.md new file mode 100644 index 000000000000..80685a246656 --- /dev/null +++ b/news/2 Fixes/15727.md @@ -0,0 +1,2 @@ +Fix for Go to definition needs to be pressed twice +(thanks [djplt](https://github.com/djplt))