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
{{ message }}
Repository navigation
Go to Implementation should be 'Find All Implementations' #23925
Similar to how we have "Find All References" we should have "Find All Implementation". Today it's aligned with "Go to Definition" but I think its much more likely that I have one definitions of something but many implementations of something. For the same reasons it's called "Find All Referenced" and not "Go to Reference"
Actually, after thinking more about documenting this change, I reverted the original fix with 56b735a and am now in favor of keeping the current name
The behavior of Go to Implementation does not match Find All References: Go to Implementation will jump to a single implementation if one exists while Find All References will always open a peek view with a list of references. Given this difference in behavior, I feel that the name Find All Implementations would be confusing. Go to Implementation as currently implemented does share the semantics of the other Go to X commands
Let me know if you disagree with this or have any different names in mind or feel we should change how Go to Implementation works
Well, I wasn't suggesting a name change but a behavioural change, namely that it behaves like Find All References because the chances are high that there are many implementation for an interface
After thinking about this further, I believe we should stick with the current command name and semantics if for no other reason than consistency with VS and other editors. JetBrains uses the name go to implementation as does VS 2015 and VS 2017 Both editors implement the command similarly to the way we currently do
Activity
mjbvz commentedon Apr 5, 2017
Submitted fix but we also will need to update the documentation. Here's the bug tracking that: microsoft/vscode-docs#927
mjbvz commentedon Apr 5, 2017
Actually, after thinking more about documenting this change, I reverted the original fix with 56b735a and am now in favor of keeping the current name
The behavior of
Go to Implementationdoes not matchFind All References:Go to Implementationwill jump to a single implementation if one exists whileFind All Referenceswill always open a peek view with a list of references. Given this difference in behavior, I feel that the nameFind All Implementationswould be confusing.Go to Implementationas currently implemented does share the semantics of the otherGo to XcommandsLet me know if you disagree with this or have any different names in mind or feel we should change how
Go to Implementationworksjrieken commentedon Apr 10, 2017
Well, I wasn't suggesting a name change but a behavioural change, namely that it behaves like
Find All Referencesbecause the chances are high that there are many implementation for an interfacemjbvz commentedon May 25, 2017
After thinking about this further, I believe we should stick with the current command name and semantics if for no other reason than consistency with VS and other editors. JetBrains uses the name
go to implementationas does VS 2015 and VS 2017 Both editors implement the command similarly to the way we currently doRename Go to Implementation to Find All Implementations Fixes microso…
Revert "Rename Go to Implementation to Find All Implementations Fixes m…