Skip to content

Go to Implementation should be 'Find All Implementations' #23925

Closed

Description

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"

Activity

  1. added
    ux
    on Apr 5, 2017
  2. mjbvz commented on Apr 5, 2017

    @mjbvz
    Contributor

    Submitted fix but we also will need to update the documentation. Here's the bug tracking that: microsoft/vscode-docs#927

  3. mjbvz commented on Apr 5, 2017

    @mjbvz
    Contributor

    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

  4. jrieken commented on Apr 10, 2017

    @jrieken
    ContributorAuthor

    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

  5. mjbvz commented on May 25, 2017

    @mjbvz
    Contributor

    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

  6. removed this from the May 2017 milestone on May 26, 2017
  7. locked and limited conversation to collaborators on Nov 18, 2017
  8. added 2 commits that reference this issue on Sep 6, 2026
    4379bd5
    f73a5bf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions