Skip to content

sourceplusplus/demo-java

Repository files navigation

GitHub GitHub release Uptime Uptime

What is this?

This project holds Java-based feature demonstrations for Source++, the open-source live coding platform. These demonstrations are meant to be used as a reference for how to use Source++ in your own projects.

How to use?

Install the Source++ plugin via the JetBrains Marketplace by searching for: Source++. Alternatively, you can download the Source++ plugin directly from here.

Once the plugin is installed, check out the demos below. Each demo contains instructions explaining how to use it.

Note: You do not need to run this code to play with the demos. This application is hosted on our publicly accessible servers.

Demo: Live Commands

Live Commands allow you to execute user-defined actions. These commands have access to application runtime data and can be used to gather metrics, trigger alerts, or perform other actions.

This demonstration shows how to add a "non-breaking breakpoint" to a running application. The Add Breakpoint command is useful for debugging production applications without impacting the end user.

This demonstration shows how to add a log statement to a running application. The Add Log command is useful for increasing the verbosity of a running application with logs that output directly into the IDE.

This demonstration shows how to follow existing logs from a running application. The Tail Logs command works with most logging frameworks, including Log4j, Logback, and SLF4J.

Demo: Live Indicators

Live Indicators allow you to automatically display user-defined metrics in the IDE. These metrics can be used to monitor the health of your application or provide insight into the current state of the application.

This demonstration shows how failing endpoints can be detected and displayed in the IDE. The Failing Endpoint indicator is useful for identifying endpoints that are actively failing and require attention.

Bugs & Features

Bug reports and feature requests can be created here.

About

Continuous feedback demonstrations for Java applications

Topics

Resources

License

Stars

Watchers

Forks