pico8-ls icon indicating copy to clipboard operation
pico8-ls copied to clipboard

PICO-8 Language Server

Results 27 pico8-ls issues
Sort by recently updated
recently updated
newest added

Under certain conditions, when using the single-line `if()` shorthand, the formatter incorrectly removes the line return right after Examples: ```lua -- This works as expected function foo() if (bar) baz()...

bug
good first issue

This is used in the `jelpi.p8` demo cart. The line looks like this: ``` while (ta < a-.5) ta += 1 ``` I think it's very similar to the single-line...

bug
low priority

Allow a pico-8 tab to be folded. This would be all code between `-->8` comments, and the top section.

enhancement
good first issue

Add client extension testing using `@vscode/test-electron` package.

Love the extension! Here's an issue I noticed with top-level local variables across tabs: ```lua __lua__ a = 1 local b = 1 -->8 -- another tab print(a) -- no...

bug

Now that code formatting exists in the editor, the opposite (code minification) would be very useful. Shrinko-8 implements good PICO-8 code minification in Python, maybe that could be used for...

enhancement

Something like: ```lua -- pico8-ls disable -- pico8-ls disable-line -- pico8-ls disable-function ``` Since we don't have any auto corrections for warnings/errors, it'd be nice if adding these showed up...

enhancement

It seems to show globals defined multiple times, and even with table keys eg ```lua function _init() p1={} end function create() p1.name="p1" p1.hp=100 end function hit() p1.hp-=1 end ``` will...

enhancement

What I lack in my PICO-8 workflow is a Lua minifier which would support PICO-8 language features. I am aware there are minifiers written in Python (i.e. https://github.com/thisismypassport/shrinko8), but for...

enhancement