Skip to content

vscode-sts: an edge case of workspace symbol for @PutMapping #781

Closed

Description

@Eskibear

Originally reported from an interview. See microsoft/vscode-spring-boot-dashboard#180 (comment)

// a)
@PutMapping("")
/ * a method definition */

// b)
@PutMapping
/ * a method definition */

For style a, it works well. But for style b, corresponding workspace symbol doesn't indicate it's a "PUT".

Activity

  1. added
    for: eclipse
    for: vscode
    and removed on Jun 10, 2022
  2. added this to the 4.15.0.RELEASE milestone on Jun 10, 2022
  3. martinlippert commented on Jun 10, 2022

    @martinlippert
    Member

    The same problem happens for @GetMapping as well, so probably a more general problem. Let me investigate this.

  4. added a commit that references this issue on Jun 10, 2022
  5. martinlippert commented on Jun 10, 2022

    @martinlippert
    Member

    Found the issue, this should be fixed now. Will be available with the next release (probably next week).
    Thanks for the simple-to-reproduce bug report here, much appreciated.

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

    for: eclipsefor: vscodestatus: in-progresstheme: spring index & symbolstype: bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions