Data carrying-over between instances in VS Code extension - "Playground" mode #1184
Labels
[Type] Developer Experience
[Type] Discussion
[Type] Documentation
Improvements or additions to documentation
[Type] UI / UX / User Experience
Issue description
I made a Playground to start working on documentation. When I make another playground that's in a blank folder (aka "Playground mode") - the new Playground thinks it's the same website as a the previously edited instance. Meaning the posts from the other instance I made are available in this installation, and even the site title has been changed.
Since it's in a blank folder, shouldn't this make a brand new instance (IE: no posts except
Hello World
?)Proof of issue
First start by making a new playground..
mkdir ~/Desktop/new-playground1 && cd $_
code .
Make another playground
mkdir ~/Desktop/new-playground2 && cd $_
code .
You should see the posts have persisted from
new-playground1
tonew-playground2
instancesCaveats?
Is this a known limitation, IE:
From the VS Code Extension's Known Issues
Questions
Playground mode
you'd get a new playground?wp-config.php
or create a new database?This seems to work as intended if you're in a folder that contains a plugin or theme, but not a blank folder.
The idea of being able to start scratch in a blank folder probably has a lot of use cases..
Importance
Being able to easily use the VS Code interface with Playground could be huge.
Let's look at how to better document how this works.
Labeling this issue
This is a good candidate for the
interfacing
label - how something works with PlaygroundConclusion
Look out for more VS Code Extension questions / thoughts! They should be easy to find in the repo...
Please let me know if it makes more sense to do a master tracking list for VS Code in lieu of individual tickets..
The text was updated successfully, but these errors were encountered: