Skip to content

[vscode-spring-boot] Provide better Spring component code completion experience on class and method level #758

Closed

Description

@nickzhums

Method-level

  • Users might need to deal with CRUD mapping such as @GetMapping, @PostMapping very often. Therefore, another enhancement is – when user starts typing @ symbol, we can pre-define a list of most often used CRUD mappings (@Get/@Put/@Delete/@post) and show them in the code completion list. Currently, the default suggestions do not contain all frequent Spring mappings.
    Class-level
  • Besides method level completion enhancement, we could also consider adding better support for @bean / @component / @service when user is typing on the class definition. For example, when user creates an empty class in a Spring app, and starts to type “@”, we should make sure to provide the most frequently used Spring class annotations.

(cc: @martinlippert @Eskibear)

Activity

  1. changed the title [-][vscode-spring-boot] Provide better Spring component completion experience on class and method level[/-] [+][vscode-spring-boot] Provide better Spring component code completion experience on class and method level[/+] on Apr 7, 2022
  2. added this to the 4.16.0.RELEASE milestone on Aug 10, 2022
  3. added
    for: eclipse
    for: vscode
    and removed on Aug 10, 2022
  4. removed this from the 4.16.0.RELEASE milestone on Sep 12, 2022
  5. added this to the Backlog milestone on Feb 24, 2023
  6. added a commit that references this issue on Nov 13, 2023
  7. added 3 commits that reference this issue on Nov 21, 2023
  8. martinlippert commented on Nov 22, 2023

    @martinlippert
    Member

    The first part of this issue is done, the code completion snippets for request mapping methods nicely show up when you start typing @ in the editor, in case you are inside a controller class.

    I will extract the second part of this issue (the things on the class level) into a separate issue, also to discuss in more detail what exactly we would like to do there.

  9. added 2 commits that reference this issue on Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: code completiontype: enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions