On Sat, May 30, 2020 at 01:13:16AM -0700, Sathish VJ wrote:
> Is there a reason why
play.golang.org needs separate buttons for Run,
> Format, and Imports? Is there any reason for or anybody not doing those
> automatically?
Say someone has issues with their code and pastes it to
play.golang.org.
You want hitting "run" to say "no module named blah" and not automatically fix the
error for them That would be very confusing.
> Shouldn't Run automatically subsume Format and Imports?
No, it should simply run the code in my opinion, after all that's what "run" means
> Also, it would be good to have a keyboard shortcut to run it. It's not
> convenient to shift to a mouse/trackpad.
There is on my computer :P install something like vimperator or use quotebrowser
or some such.