This is a project consisting of definition files for the sumneko/lua extension for VSCode, allowing you to write Picotron programs with the support of modern editor features.
Similar add-on for PICO-8: https://github.com/ahai64/pico8
-
Install and enable sumneko/Lua extensions in VSCode Marketplace
-
Download the repo from Github
-
Put the folder
.vscode/andlibrary/into your VSCode workspace. -
Create a cartridge and include external Lua code with:
cd("/bar")
include("foo.lua")
Then you can write code in the workspace of VSCode and enjoy code prompts, formatting, AI copilot, etc.
