New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code: Launch Playground in VS Code using "blueprint mode" #211
Comments
+1 on that, or some form of it that allows for multiple Blueprints and is consistent with how Blueprints are supported in GitHub projects. I'll move this over to the https://github.com/WordPress/playground-tools/ repo where the VS Code extension is maintained. cc @sejas |
I love the idea! The only thing to bear in mind is that the blueprint should be executed only the first time, because blueprints are expected to create a "running" WordPress instance once. |
great phrasing @sejas - adding this to the docs. It's an important distinction to make |
@jonathanbossenger did a livestream on the Playground, he was able to get a new site generated by running the blueprint again - using In his example, he changed the blueprint step to change the site name. If a blueprint can re-write an entire site, it probably would be helpful to throw some type of Caution message to let the user know the entire site could be re-written. Following progress - feel like this has opportunity to be a great feature. |
Yes! Some blueprints are less destructive. |
Absolutely. The UI for VS Code I think could offer a ton more options. While using the extension I'll try to track down a "Wishlist" of sorts for things I'd love to see. It's the main way I could see using Playground!!
On the other hand I could see DDoS attacks or other outgoing attacks being more prevelant? Disclaimer: Not a security expert by any way, but this is a feature that is appealing of Playground (less danger) |
I was working on generating some use journeys that could create errors. GitHub Copilot is magical, by the way... nonetheless, here's two user scenerios it generated for blueprint errors: User Journey 1: User is trying to import a Blueprint and gets an error
User Journey 2: User is trying to create a new Blueprint and gets an error
Which could actually provide some ideas for how the UI could work! |
When launching WordPress in VS Code via the extension, search first for a
blueprint.json
file to bootstrap the instance.If a
blueprint.json
file is found in the project directory, load up the blueprint at the click of a button.Current available modes
Automattic modes
The text was updated successfully, but these errors were encountered: