Log In  

I've always been frustrated by how low-tech the dev environment feels for PICO-8, so I finally decided to do something about it. Introducing:

PICO-8 Language Server for VSCode

pico8-ls is a full-featured language extension for VSCode. It gives the full IDE experience, as if you were developing with Javascript, Java, Python, C#, etc.

Download here: pico8-ls - VSCode Marketplace

This extension has full support for the PICO-8 dialect of Lua - which means you don't have to move your code into a .lua file, or go through and remove all the += to get the Lua extension to work!

Here are some other useful features:

  • Go to definition
  • Find references
  • Warning on undefined variable usage
  • Get documentation for built-in functions by hovering over them
  • Support for "#include"ing other files

Demo of hover-docs, auto-complete, and signature help:

My most proud achievement is getting the #include statements to work, since go-to-definition and find-references both work across #include file boundaries. Demo of that working:

Anyways, I hope you find it useful! If you find any issues, please file an issue for them on GitHub:

pico8-ls Issues on GitHub

P#113203 2022-06-15 21:57

Just came on and such a lovely suprise!

P#113205 2022-06-15 22:49

Dude, very nicely done. Love that the outline works properly now and the bread crumbs. Hover help is a bonus. Great quality of life boost here. Bravo!

P#113225 2022-06-16 13:17

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-03-21 13:51:03 | 0.006s | Q:12