Workbench
Workbench copied to clipboard
Run should rerendere the preview even if there is no code
Currently we "return" if there is no code.
But we should at least rerender the preview in case auto reload is diabled.
Was working on it. Is replacing the empty source code with placeholder empty functions or comments a viable solution? If yes, then I have it ready.
I don't understand the question. Do you want to open a draft PR? Maybe that will clarify.
Okay, I will send a PR by tomorrow
I could make it work by simply passing a comment for the 'text' var but for Vala, Rust and Python, had to edit the text buffer which also reflects in the source code whenever you press run (line 275 in PR). Perhaps a better solution would be to directly manipulate the compiler calls?