You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[vscode-spring-boot] More Spring Live data visualized in VSCode directly #757
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.)
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.
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...
@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.
Activity
martinlippert commentedon Feb 24, 2023
Quick update: memory visualization is done and available in the dashboard extension for VSCode already.
More to come.
ENate commentedon Aug 13, 2023
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.
BoykoAlex commentedon Aug 14, 2023
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...
martinlippert commentedon Aug 19, 2023
@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.
ENate commentedon Aug 23, 2023
@martinlippert You mean launching the app via the start/debug tool directly from the main file should be the way to go?
BoykoAlex commentedon Aug 28, 2023
Yes