Skip to content

[bean completion proposals] avoid duplicate proposals #1519

Closed

Description

@martinlippert

In #1518, I am seeing some duplicates in the list of bean proposals. This might happen when there are multiple bean definitions with the same name (maybe with different profiles). But showing all those duplicates doesn't make a lot of sense here, so we need to:

  • probably include the bean type in the proposals (so that users can distinguish different proposals with the same bean name, but a different bean type)
  • remove duplicates where the bean name and the bean type is the exact same, so applying those would result in the exact same code

Activity

  1. added
    for: eclipse
    for: vscode
    on Mar 18, 2025
  2. added this to the 4.30.0.RELEASE milestone on Mar 18, 2025
  3. BoykoAlex commented on Apr 2, 2025

    @BoykoAlex
    Contributor

    Duplicates handling: 3a6dd8b and inclusion of type into the proposals just requires showing it visually in LSP4E: eclipse-lsp4e/lsp4e#1238

  4. BoykoAlex commented on Apr 7, 2025

    @BoykoAlex
    Contributor

    All LSP4E PRs have been merged. Marking as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

for: eclipsefor: vscodetheme: code completiontype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions