You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IDEs (e.g. Eclipse, Intellij) Go to Implementation is used to refer to a navigation from an interface to an implementation or an abstract method to implementating methods.
Therefore the command should be renamed to 'Go to Defining Type'.
Thomas Eichmann (@the) TS go to implementation command does this. I think the problem is that our API name is confusing.
In #18346, I originally called the api ImplementationProvider which we then decided to rename TypeDefinitionProvider. At the time, I didn't realize that a type definition was actually its own, unrelated concept.
I think we should instead just switch the api from TypeDefinitionProvider to TypeImplementationProvider
Erich Gamma (@egamma) Just to make sure I fixed the right thing, were you seeing unexpected behavior with the current go to implementation command, or was the original API name the source of confusion?
Erich Gamma (@egamma)Go To Implementation is supposed to exactly do what you are describing the other tools do. That's why we're asking for the case in which it potentially didn't work for you.
Activity
mjbvz commentedon Jan 23, 2017
Thomas Eichmann (@the) TS
go to implementationcommand does this. I think the problem is that our API name is confusing.In #18346, I originally called the api
ImplementationProviderwhich we then decided to renameTypeDefinitionProvider. At the time, I didn't realize that atype definitionwas actually its own, unrelated concept.I think we should instead just switch the api from
TypeDefinitionProvidertoTypeImplementationProvidermjbvz commentedon Jan 24, 2017
Erich Gamma (@egamma) Just to make sure I fixed the right thing, were you seeing unexpected behavior with the current
go to implementationcommand, or was the original API name the source of confusion?kieferrm commentedon Jan 24, 2017
Erich Gamma (@egamma)
Go To Implementationis supposed to exactly do what you are describing the other tools do. That's why we're asking for the case in which it potentially didn't work for you.egamma commentedon Jan 24, 2017
Matt Bierner (@mjbvz) Kai Maetzel (@kieferrm) all is good and I've verified that it behaves as expected, sorry for the noise.