Skip to content

Commit

Permalink
fix for first time rename and goToDef returning 'no result' (#15747)
Browse files Browse the repository at this point in the history
* fix for first time rename and goToDef returning 'no result'

* adding news
  • Loading branch information
bschnurr authored and karthiknadig committed Mar 23, 2021
1 parent 888333e commit b13243b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions news/2 Fixes/15727.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix for Go to definition needs to be pressed twice
(thanks [djplt](https://github.com/djplt))
1 change: 1 addition & 0 deletions src/client/activation/languageClientMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ function captureTelemetryForLSPMethod(
};
}
sendTelemetryEvent(eventName, measures, properties);
return result;
};

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

0 comments on commit b13243b

Please sign in to comment.