-
Notifications
You must be signed in to change notification settings - Fork 645
Go to Type Definition will show a prompt to update guru when used on something that doesn't have a type #2166
Comments
Thanks for reporting @segevfiner @hummerd, @segevfiner Our current method of identifying guru being stale seem to be catching a lot of false positives. Can any of you provide more information on the guru support here?
I'd rather us not show any prompt at all about updating guru, instead of showing it at wrong times. |
It's this commit: golang/tools@9c8bd46 (I think). It adds the required information to the existing |
Type position is the new feature. I think extension can not separate this false cases from real ones - missing type position case (with old guru). Rest of guru's output is the same. So if we don't want this we should disable promtToUpdate at all. :( |
Here is PR #2172 for logging instead of prompt |
Thanks @segevfiner! @hummerd, I didnt know you had implemented the feature in guru, nice job! |
@hummerd Can we expect the If yes, then we can check |
Nop. We need patch guru for it. From guru's point of view it's ok. Why should it return values that are empty.
You can notice these |
Thanks :) It was a multi-step move. |
@segevfiner, @hummerd Can you confirm the fix using the latest beta version |
Steps to Reproduce:
Println
in the following:Using it on something that has a type works correctly.
VS Code 1.29.1
vscode-go 0.7.1-beta.3
The text was updated successfully, but these errors were encountered: