Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/run using play button #24

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Efratror
Copy link

@Efratror Efratror commented Apr 1, 2022

Implements:

  • Play and stop icons
    • Green triangle/arrow
    • Red square
  • Buffered output to channel
    • Appends buffer content to a vs-code output channel using a interval to not overwhelm the output channel
  • Sketch runner class
    • Copies the compiled sketch (java class) files from the server
    • Starts and stops a sketch
    • Pipes sketch output to a buffer
    • Sets buttons visibility depending on the sketch state (running or not)

Closes #4

Directly appending to an outputchannel will overwhelm the channel. Using a buffer to collect the sketch output and append it with a delay to the channel.
Starts and stops the sketch using a child process. Output from the sketch is piped to the buffer
Buttons are shown in the top right corner.
Play button is shown when a sketch is not running

Stop button is shown when a sketch is running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Run using Play button - Additional extension required
1 participant