4 ms·
Exactly! I'm a huge fan of CodePen/JSFiddle/etc., but wanted to have an experience that let me take advantage of my existing editor setup, in order to experimen
by lostintangent 6y ago
Exactly! I'm a huge fan of CodePen/JSFiddle/etc., but wanted to have an experience that let me take advantage of my existing editor setup, in order to experiment with ideas or learn new things. I built CodeSwing to "scratch my own itch", and I'm keen to hear if it's useful for others as well :D
Regarding the Golang playground: is this what you're thinking about? https://play.golang.org/ https://play.golang.org/. CodeSwing is a general-purpose "interactive coding environment", and therefore, I'd love to expand it over time to include more languages. Right now, it's limited to web scenarios, but that's simply where I started.
Would it be useful to be able to create a new Go/Rust swing inside VS Code, and have it automatically run your code, and display stdout in a console window as you type? Or did you have something else in mind?
- efwfwef 6y agoThe first cool thing about play.golang.org and play.rust-lang.org is that you don't need to setup a project to quickly test something (this is especially a pain in rust as you need to set dependencies in a Cargo.toml file. The second cool thing about these services is that you can easily share something you made (if I was making a VS Code plugin like that, I would give the option to create a sharable link to a play.golang.org or play.rust-lang.org page The third cool thing is that you can easily compile using different version and tools. That being said, if only the first cool thing was implemented, that would already be cool!