Skip to content

[vscode-spring-boot] More Spring Live data visualized in VSCode directly #757

Open

Description

@nickzhums
  • At the moment, we have the Live Information hovers showing up in source code with data from the running application - with data coming from Spring Boot Actuators
  • At the moment, this is limited to specific structural data (beans, request mappings, and a few more). Would be great to enhance that to a more broad scope of actuator data that is available (memory, threads, http requests, etc.)

(cc: @martinlippert @Eskibear)

Activity

  1. added
    for: eclipse
    for: vscode
    and removed on May 5, 2022
  2. added this to the Backlog milestone on Feb 24, 2023
  3. martinlippert commented on Feb 24, 2023

    @martinlippert
    Member

    Quick update: memory visualization is done and available in the dashboard extension for VSCode already.
    More to come.

  4. ENate commented on Aug 13, 2023

    @ENate

    I cannot get this live info with spring boot 3.0+. It says no spring project found. But the spring boot application is running and shows up on the Java projects tab. I also have the spring boot actuator dependency included via maven.

  5. BoykoAlex commented on Aug 14, 2023

    @BoykoAlex
    Contributor

    Can you reproduce the issue with spring petclinic or some other simple spring boot project that you can share?
    I've tried 3.x projects with STS4 vscode and eclipse extensions and everything seems to work for me...

  6. martinlippert commented on Aug 19, 2023

    @martinlippert
    Member

    @ENate It might also depend on the way you launch the project. In order to make the live hovers work, the tooling automatically sets certain options when launching the JVM, so that JMX is enabled, for example. When you launch the app via the command line yourself (for example), those options are not set and live hovers would not show up. Therefore, having a sample project and a few more details here how you run the app might help.

  7. ENate commented on Aug 23, 2023

    @ENate

    @martinlippert You mean launching the app via the start/debug tool directly from the main file should be the way to go?

  8. BoykoAlex commented on Aug 28, 2023

    @BoykoAlex
    Contributor

    Yes

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: needs-discussionstatus: needs-investigationtheme: live-datatype: enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions