https://github.com/joho/pico8-vscode
A vscode extension for working with pico-8 cartridges.
https://github.com/joho/pico8-vscode
Last synced: 12 months ago
JSON representation
A vscode extension for working with pico-8 cartridges.
- Host: GitHub
- URL: https://github.com/joho/pico8-vscode
- Owner: joho
- License: mit
- Created: 2016-12-29T07:51:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-09-07T12:13:16.000Z (almost 7 years ago)
- Last Synced: 2025-04-04T06:51:12.302Z (about 1 year ago)
- Language: TypeScript
- Size: 14.6 KB
- Stars: 37
- Watchers: 1
- Forks: 11
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pico8-vscode
A new vscode extension for editing and running pico8 files.

I recommend having a separate pico8 workspace for doing dev in. I keep mine at `~/Projects/pico8` and
it looks a bit like this
```
pico8
├── backup
├── bbs
├── carts
│ └── hello.p8
├── cdata
├── config.txt
├── cstore
├── log.txt
└── sdl_controllers.txt
```
This then allows me to open the workspace from the command line like
```sh
joho6[19:22:03]:~/Projects/pico8
👻 code .
```
The benefit of this is that any edits and saves you make within pico8 (for example doing graphics or sound)
will be written back into the workspace where you would expect it, rather than into the default home
which is likely to be far, far away from the warm embrace of source control
## Features
* Syntax highlighting for *.p8 files
* If used in workspace mode will set the pico8 home to your workspace
* CMD+R to open automatically run the .p8 you're editing in pico8
* A humane licence (no twitter egg anti-sjw MIT variant here)
## Requirements
You need to have pico8.
## Extension Settings
This extension contributes the following settings:
* `pico8.executablePath`: path to where your pico8 actually is (default is `/Applications/PICO-8.app/Contents/MacOS/pico8`)
## Known Issues
Best I can say is that it "works on my machine"
## Release Notes
### 0.0.1
Initial release of pico8-vscode
## License
All code is by John Barton and [MIT licensed](/LICENSE.md) with the exception of the syntaxes folder which is covered by [the original author's license](/syntaxes/OSSREADME.json)