Skip to content

[bean completion proposals] polish the proposal appearance in the completion list #1485

Closed

Description

@martinlippert

At the moment, the autowire bean completions show up as a list of plain bean names. This makes it sometimes look a bit weird, since it shows up side by side with, for example, methods you could invoke. Even the icon for the proposals look the same.

Image

I think we need to change:

  • the icon (the symbol kind) to something else.
  • the label to include some additional information (like myController - inject as a bean dependency)

Activity

  1. added this to the 4.29.0.RELEASE milestone on Feb 27, 2025
  2. BoykoAlex commented on Feb 27, 2025

    @BoykoAlex
    Contributor

    Addressed with b8322a0
    Keeping opened for feedback

  3. martinlippert commented on Feb 28, 2025

    @martinlippert
    MemberAuthor

    The details are a great step forward. I think we should also include the type of the bean that will be injected, probably excluding package information. WDYT @BoykoAlex ?

  4. BoykoAlex commented on Feb 28, 2025

    @BoykoAlex
    Contributor

    I've tried that and felt like too much text of displayed. I pushed changes in d595f03
    The detail is shown next to the label same size fond but a bit greyed out. The description is aligned right smaller font size and greyed out. I'd just leave a short description "inject bean" but we can keep or re-arrange as you like :-)

  5. martinlippert commented on Feb 28, 2025

    @martinlippert
    MemberAuthor

    Looks good to me. Like it!!! 👍

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

Metadata

Metadata

Assignees

Labels

for: vscodetheme: code completiontype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions