Skip to content

[navigation] Allow filtering by project in Find Spring Elements list  #173

Closed

Description

@gayanper

The default implementation is to show spring elements in workspace or on current file. It would be really usefull if the elements can be filtered on the current project as well. One could easily filter the elements by their path using the current active editor's project name. This can be programmed to another cycle of CTRL+6 like workspace, project and current file. Or else one could program it to be able filter using a different keyword in the filter field. I personally prefer the option 1 since it make the user experience more straight forward.

Activity

  1. gayanper commented on Jan 4, 2019

    @gayanper
    ContributorAuthor

    This should be a eclipse only feature since other tools doesn't have a notion of multiple projects in a workspace.

  2. added a commit that references this issue on Jan 5, 2019
    b47b63e
  3. gayanper commented on Jan 5, 2019

    @gayanper
    ContributorAuthor

    @martinlippert here is a PR which adds support for in project symbols for eclipse.

  4. gayanper commented on Jan 7, 2019

    @gayanper
    ContributorAuthor

    @martinlippert any feedback on this ?

  5. kdvolder commented on Jan 7, 2019

    @kdvolder
    Member

    This should be a eclipse only feature since other tools doesn't have a notion of multiple projects in a workspace.

    That's not true. It isn't as obvious perhaps but vscode also has projects since vscode java support is basically a wrapper on Eclipse JDT (pakcaged as a language server).

  6. kdvolder commented on Jan 7, 2019

    @kdvolder
    Member

    FWIW: I like the idea of being able to filter symbol by current project.

  7. gayanper commented on Jan 7, 2019

    @gayanper
    ContributorAuthor

    That's not true. It isn't as obvious perhaps but vscode also has projects since vscode java support is basically a wrapper on Eclipse JDT (pakcaged as a language server).

    Hmmm thats good to know. But since the language server api doesn't have support for project notion vscode implementation might look similar to this. May be someone who is really fluent in js development can take it up.

  8. gayanper commented on Jan 7, 2019

    @gayanper
    ContributorAuthor

    @kdevolder the PR is already there. You can give it a try 😊

  9. kdvolder commented on Jan 7, 2019

    @kdvolder
    Member

    @gayanper I see what you are saying now. Yes language server protocol doesn't have the concept of a 'project'. The closest thing would be a workspaceFolders but its really not the same as the 'projects' that jdt identifies.

    So yeah, it seems hard to implement this functionality in vscode (more so because the UI isn't implemented by us, but is part of the vscode 'generic' language server client).

    Anyhoo.... I still support having the project-based filter in our Eclipse 'goto symbol' ui, independent of whether or not we have something similar in vscode (or other clients).

  10. added a commit that references this issue on Jan 8, 2019
    81bffbb
  11. added a commit that references this issue on Jan 9, 2019
    9252f0a
  12. added this to the 4.1.1.RELEASE milestone on Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions