Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
nickzhums opened this issue Apr 7, 2022 · 1 comment
Assignees
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion type: enhancement

Comments

@nickzhums
Copy link

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)

@nickzhums nickzhums 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 Apr 7, 2022
@martinlippert martinlippert added this to the 4.16.0.RELEASE milestone Aug 10, 2022
@martinlippert martinlippert added for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion and removed status: waiting-for-triage labels Aug 10, 2022
@martinlippert martinlippert removed this from the 4.16.0.RELEASE milestone Sep 12, 2022
@martinlippert martinlippert added this to the Backlog milestone Feb 24, 2023
@martinlippert martinlippert self-assigned this Nov 13, 2023
martinlippert added a commit that referenced this issue Nov 13, 2023
@martinlippert martinlippert modified the milestones: Backlog, 4.21.0.RELEASE Nov 13, 2023
martinlippert added a commit that referenced this issue Nov 21, 2023
martinlippert added a commit that referenced this issue Nov 22, 2023
@martinlippert
Copy link
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: eclipse something that is specific for Eclipse for: vscode something that is specific for VSCode theme: code completion type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants