Skip to content
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

No way to add back in main.blocks #5855

Open
jwunderl opened this issue Apr 18, 2023 · 0 comments
Open

No way to add back in main.blocks #5855

jwunderl opened this issue Apr 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jwunderl
Copy link
Member

Describe the bug

if you accidentally delete main.blocks, there's no easy to bring it back. I would expect adding main.blocks as a custom file would bring it back

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://arcade.makecode.com/S50476-03517-73092-94476
  2. can't make main.blocks come back up

Expected behavior
If the user adds a new file called 'main.blocks', and 'main.ts' exists, I would expect it to decompile main.ts back and make it a blocks project again. if main.ts does not exist, I would expect it to create both files as empty files / maybe just on start

Additional context

User having trouble with it here https://forum.makecode.com/t/i-accidentally-deleted-main-blocks/19271/2, I'll probably just manually fix their project but it'd be good to have a general solution.

@jwunderl jwunderl added the bug Something isn't working label Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant