spring-projects / sts4

The next generation of tooling for Spring Boot, including support for Cloud Foundry manifest files, Concourse CI pipeline definitions, BOSH deployment manifests, and more... - Available for Eclipse, Visual Studio Code, and Theia
https://spring.io/tools
Eclipse Public License 1.0
872 stars 205 forks source link

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

Open nickzhums opened 2 years ago

nickzhums commented 2 years ago

(cc: @martinlippert @Eskibear)

martinlippert commented 1 year ago

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

ENate commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

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

BoykoAlex commented 1 year ago

Yes