Skip to content

Feature/run using play button#24

Open
Efratror wants to merge 5 commits into
processing-language-server:masterfrom
Efratror:Feature/Run-using-play-button
Open

Feature/run using play button#24
Efratror wants to merge 5 commits into
processing-language-server:masterfrom
Efratror:Feature/Run-using-play-button

Conversation

@Efratror

@Efratror Efratror commented Apr 1, 2022

Copy link
Copy Markdown

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

Efratror added 5 commits April 1, 2022 09:43
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