Skip to content

Commit ff2bc45

Browse files
authored
fix for first time rename and goToDef returning 'no result' (#15747)
* fix for first time rename and goToDef returning 'no result' * adding news
1 parent 3121b91 commit ff2bc45

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

news/2 Fixes/15727.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix for Go to definition needs to be pressed twice
2+
(thanks [djplt](https://github.com/djplt))

src/client/activation/languageClientMiddleware.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ function captureTelemetryForLSPMethod(
431431
};
432432
}
433433
sendTelemetryEvent(eventName, measures, properties);
434+
return result;
434435
};
435436

436437
let result = originalMethod.apply(this, args);

0 commit comments

Comments
 (0)