Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidbuchanan314/scratch-vscode
Preview Scratch projects inside vscode, with live reload.
https://github.com/davidbuchanan314/scratch-vscode
boiga scratch scratch3 vscode-extension
Last synced: 3 months ago
JSON representation
Preview Scratch projects inside vscode, with live reload.
- Host: GitHub
- URL: https://github.com/davidbuchanan314/scratch-vscode
- Owner: DavidBuchanan314
- License: mit
- Created: 2022-06-17T01:47:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-22T01:09:11.000Z (over 2 years ago)
- Last Synced: 2023-03-04T04:07:34.711Z (almost 2 years ago)
- Topics: boiga, scratch, scratch3, vscode-extension
- Language: TypeScript
- Homepage:
- Size: 282 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scratch-vscode
Preview Scratch projects (`.sb3`) inside vscode - with live reload.
This is useful if you're writing code that generates Scratch code, and you want
a quick feedback loop.The code is a bit janky because I don't really know JS or TypeScript, and I took one
of the vscode extension samples and hacked out everything I didn't think I needed.
## Current Limitations
- Variable/List monitors are not yet supported.
- The "ask and wait" block doesn't work yet.
- No sound on music blocks (I need to figure out how to load the assets).## Planned Features
- Viewing the scratch blocks contained within a `.sprite3` file.
- A way to log messages from a scratch project.
- Debugger integration? Being able to view variables at least, would be useful.## Installation
Grab the `.vsix` file from the releases page, then go to vscode -> Extensions -> ... -> Install from VSIX
## Testing/Development
If you want to test/debug it, these steps should hopefully work:
```
git clone https://github.com/DavidBuchanan314/scratch-vscode
cd scratch-vscode
make install
npm run compile
[press F5 in vscode]
```To build the installable `.vsix` file:
```
vsce package
```