Introducing Rust Support in CodeSandbox, start a Rust VM in one click
codesandbox.io
codesandbox.io
I'd prefer having my own dev tools maintained locally by me but i'm curious if i'm becoming the minority
That said, I've also spoken with people who use a Web IDE next to their local environment. E.g. they use a Web IDE for reviewing PRs or making smaller changes, and they use their local editor for feature development.
I personally use Emacs and magit which has great support for worktrees. I do not know if the VSCode git integration supports it.
It's especially useful for things like migrations or dependency management. In one branch I could work on something that has some database migrations, and then I can still switch to other branches without having to roll back the migrations.
I didn't know about git worktrees though! I'm going to read up on this.
I would love to have this workflow locally.
You too should check worktree. (See my other comment)
This is a good use case of git worktree.
> I didn't know about git worktrees though! I'm going to read up on this.
Indeed, you will like it.
The only limitation is that you cannot checkout the same branch in multiple worktree.
The only thing kind of clunky is that you have to keep track of which branch is open in which directory since you can't checkout the same branch in two different directories.
"git worktree list" is your friend ;-)
I've also seen some open source projects that use CodeSandbox for their example projects. It's a nice experience for examples that require a server and client (that can't simply use storybook). I can understand the value in that, especially if you can automate it and link it to a Git repo with an examples/ folder.
I know https://play.rust-lang.org/ is pretty limited as well.
I'd say that CodeSandbox has a strong focus on extending the existing workflow for developers. That's why we have a VSCode integration, a GitHub integration with a GitHub App that creates a running dev env for every branch/PR, and we make sure that generally all editor features you expect (autocomplete, go to definition, hover info, etc) are available for the languages that we support.
What I would love to see is an extension that runs all of my tests and debugger in a type 1 hypervisor that can simply send a set of instructions to setup the VM, a snapshot of the changeset, and allows a developer to run that exact environment on their machine. Combine that with LiveShare and you have something that closely mimicks the experience of handing a keyboard and mouse back and forth during pairing.
That said, it is something on our radar, being able to press a button for deploy from CodeSandbox would be valuable for many people!