Skip to content
A vscode extension for working with pico-8 cartridges.
TypeScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
images
src
syntaxes
.gitignore
.vscodeignore
CHANGELOG.md
LICENSE.md
README.md
package.json
tsconfig.json

README.md

pico8-vscode

A new vscode extension for editing and running pico8 files.

Example of running a pico8 workspace

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

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 with the exception of the syntaxes folder which is covered by the original author's license

You can’t perform that action at this time.