scztt / vscode-supercollider

MIT License
56 stars 6 forks source link

Added server status information to the status bar. #53

Open jenshaase opened 4 months ago

jenshaase commented 4 months ago

This PR will add a status bar to the vscode extension. This status bar will show the server status of the Supercollider server.

With a click on the status bar it is possible to start and stop the server. In case the server is unresponsive a click on the status bar will restart the server.

The following values are show in the status bar:

  1. Icon of the server status (play, stop, warning)
  2. Average CPU usage
  3. Peak CPU usage
  4. Number of UGens
  5. Number of Synths
  6. Number of Groups
  7. Number of SynthDefs.

Here is a image:

334572447-ef6bf205-0f48-4bd2-b721-69c28364062c

This is a follow up PR to a PR in the language server quark (https://github.com/scztt/LanguageServer.quark/pull/26)