This is a project consisting of definition files for the sumneko/lua extension for VSCode, allowing you to write PICO-8 or Picotron programs with the support of modern editor features.
https://github.com/ahai64/pico8
https://github.com/ahai64/picotron
https://marketplace.visualstudio.com/items?itemName=sumneko.lua






.png)


I found a simple way to use printh on Windows without any setup by using Terminal in VSCode.
Using Lnk file
- Drag and drop the lnk of PICO-8 into VSCode Terminal;
- Press Enter to run it;
- Use
printh
in PICO-8!
Now printh will output its info to VSCode Terminal.

Using p8 file in VSCode
And if you set pico-8.exe as the default program to open your p8 file, you can just drag and drop your p8 file in the VSCode to Terminal. It will open PICO-8 and load the cart and printh
still works.

Another way by editing lnk file: https://www.lexaloffle.com/bbs/?tid=42367



@zep There is a mistake in the PICO-8 manual.
6.14 Additional Lua Features > Coroutines > costatus(c) Return the status of coroutine C as a string: "running" "suspended" "dead" |
The status "normal" is missing.
When coroutine A calls coroutine B, and you check the status of A in B, you will get "normal".
